Comments on: Microsoft 365 Tenant-to-Tenant Migration Assessment Version 2 https://practical365.com/microsoft-365-tenant-to-tenant-migration-assessment-version-2/ Practical Office 365 News, Tips, and Tutorials Fri, 09 Aug 2024 15:15:40 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: <div class="apbct-real-user-wrapper"> <div class="apbct-real-user-author-name">Thierry</div> <div class="apbct-real-user-badge" onmouseover=" let popup = document.getElementById('apbct_trp_comment_id_297728'); popup.style.display = 'inline-flex'; "> <div class="apbct-real-user-popup" id="apbct_trp_comment_id_297728"> <div class="apbct-real-user-title"> <p class="apbct-real-user-popup-header">The Real Person!</p> <p class="apbct-real-user-popup-text">Author <b>Thierry</b> acts as a real person and passed all tests against spambots. Anti-Spam by CleanTalk.</p> </div> </div> </div> </div> https://practical365.com/microsoft-365-tenant-to-tenant-migration-assessment-version-2/#comment-297728 Fri, 09 Aug 2024 15:15:40 +0000 https://practical365.com/?p=60859#comment-297728 Hi Sean,

I tried your scripts on a large tenant (10k users, 7k Teams, …) I’ve got some errors during the execution :

| An error occurred while sending the request.
InvalidOperation: C:\temp\temp\Perform-TenantAssessment.ps1:231
Line |
231 | $teamgroup | Add-Member -MemberType NoteProperty -Name “URL” -Val …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot index into a null array.
| Invalid request Status: 400 (BadRequest) ErrorCode: invalidRequest Date: 2024-08-09T09:33:03 Headers: Cache-Control : max-age=0, private Vary : Accept-Encoding
| Strict-Transport-Security : max-age=31536000 request-id : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxclient-request-id : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
| x-ms-ags-diagnostic : {“ServerInfo”:{“DataCenter”:”Italy North”,”Slice”:”E”,”Ring”:”3″,”ScaleUnit”:”000″,”RoleInstance”:”MI1PEPF0000031C”}} Date : Fri, 09 Aug 2024
| 09:33:02 GMT
InvalidOperation: C:\temp\temp\Perform-TenantAssessment.ps1:231
Line |
231 | $teamgroup | Add-Member -MemberType NoteProperty -Name “URL” -Val …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot index into a null array.
InvalidOperation: C:\temp\temp\Perform-TenantAssessment.ps1:885
Line |
885 | $user.OneDriveSizeGB = (((($OneDrive | ? { $_.’Owner Prin …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Method invocation failed because [System.Object[]] does not contain a method named ‘op_Division’.

But after 7 hours, the script has finished.

When I tried to open the Excel file, I’ve got an error: “We found a problem with some content in TenantAssessment.xlsx … After the repair, I’ve been able to consult the results. But when I tried to open the PowerBi Report, I’ve got a new error concerning the DisplayName in Teams table because it contains duplicate values.

Thanks for your great job, and thanks for your help.
Thierry

]]>
By: <div class="apbct-real-user-wrapper"> <div class="apbct-real-user-author-name">Mark</div> <div class="apbct-real-user-badge" onmouseover=" let popup = document.getElementById('apbct_trp_comment_id_297703'); popup.style.display = 'inline-flex'; "> <div class="apbct-real-user-popup" id="apbct_trp_comment_id_297703"> <div class="apbct-real-user-title"> <p class="apbct-real-user-popup-header">The Real Person!</p> <p class="apbct-real-user-popup-text">Author <b>Mark</b> acts as a real person and passed all tests against spambots. Anti-Spam by CleanTalk.</p> </div> </div> </div> </div> https://practical365.com/microsoft-365-tenant-to-tenant-migration-assessment-version-2/#comment-297703 Fri, 09 Aug 2024 00:09:17 +0000 https://practical365.com/?p=60859#comment-297703 In reply to Sean Mcavinue.

Thanks, that did the trick!

]]>
By: <div class="apbct-real-user-wrapper"> <div class="apbct-real-user-author-name">Mark</div> <div class="apbct-real-user-badge" onmouseover=" let popup = document.getElementById('apbct_trp_comment_id_297702'); popup.style.display = 'inline-flex'; "> <div class="apbct-real-user-popup" id="apbct_trp_comment_id_297702"> <div class="apbct-real-user-title"> <p class="apbct-real-user-popup-header">The Real Person!</p> <p class="apbct-real-user-popup-text">Author <b>Mark</b> acts as a real person and passed all tests against spambots. Anti-Spam by CleanTalk.</p> </div> </div> </div> </div> https://practical365.com/microsoft-365-tenant-to-tenant-migration-assessment-version-2/#comment-297702 Fri, 09 Aug 2024 00:08:47 +0000 https://practical365.com/?p=60859#comment-297702 In reply to Tristan.

Thanks, that did the trick!

]]>
By: Sean Mcavinue https://practical365.com/microsoft-365-tenant-to-tenant-migration-assessment-version-2/#comment-297643 Wed, 07 Aug 2024 06:13:58 +0000 https://practical365.com/?p=60859#comment-297643 In reply to Mark R.

Hey Mark,
I expect the data not showing is because names are concealed in reports, could you check you are allowing names to be shown in reports in the tenant? On the shared mailboxes, that is a bug which I will resolve soon. Without shared mailboxes that page does show up blank.

]]>
By: Mark R https://practical365.com/microsoft-365-tenant-to-tenant-migration-assessment-version-2/#comment-297633 Tue, 06 Aug 2024 20:38:42 +0000 https://practical365.com/?p=60859#comment-297633 I’ve been trying to run against my MS CDX demo tenants.

I’ve found the powerbi report will not load unless I create a shared mailbox and a resource – the table lacks headers when there is no data, and this causes an error. I suspect this would rarely be a problem with a real tenant.

More importantly, I am not getting any data from the fields below, even though it exists.

targetobjectID
targetUPN
TargetMail
MailboxItemCount
MailboxSizeGB
OneDriveSizeGB
OneDriveFileCount

Admin is assigned to the App.

PowerShell 7.7.4
Version Name
2.0.2.182 AzureAD
3.5.1 ExchangeOnlineManagement
2.21.1 Microsoft.Graph
7.8.9 ImportExcel

sure how to check MSAL.PS version

]]>
By: Tristan https://practical365.com/microsoft-365-tenant-to-tenant-migration-assessment-version-2/#comment-297616 Tue, 06 Aug 2024 10:39:11 +0000 https://practical365.com/?p=60859#comment-297616 Scripts works well, great work and thanks Sean! Note that it only worked when i ran it with PS V7 (Exchange Online connection error when tested on PS version 5). Also the Assessment outputs to C:\TenantAssessment rather than C:\Temp\TenantAssessment.

]]>
By: <div class="apbct-real-user-wrapper"> <div class="apbct-real-user-author-name">Sean McAvinue</div> <div class="apbct-real-user-badge" onmouseover=" let popup = document.getElementById('apbct_trp_comment_id_297287'); popup.style.display = 'inline-flex'; "> <div class="apbct-real-user-popup" id="apbct_trp_comment_id_297287"> <div class="apbct-real-user-title"> <p class="apbct-real-user-popup-header">The Real Person!</p> <p class="apbct-real-user-popup-text">Author <b>Sean McAvinue</b> acts as a real person and passed all tests against spambots. Anti-Spam by CleanTalk.</p> </div> </div> </div> </div> https://practical365.com/microsoft-365-tenant-to-tenant-migration-assessment-version-2/#comment-297287 Fri, 26 Jul 2024 05:04:26 +0000 https://practical365.com/?p=60859#comment-297287 In reply to PS.

Ok, I have seen this before when a null value is returned for a user in the OneDrive report exported. I will add logic to suppress this error but the export should still work fine?

]]>
By: PS https://practical365.com/microsoft-365-tenant-to-tenant-migration-assessment-version-2/#comment-297257 Thu, 25 Jul 2024 13:17:37 +0000 https://practical365.com/?p=60859#comment-297257 In reply to Sean McAvinue.

Hi Sean
Thanks for the followup.

3.5.1 ExchangeOnlineManagement PSGallery

When using PS v7.4.2, I am not getting the “ExchangeOnline exiting” error which I was getting with PS v5.1, but now the script stops at below error as mentioned in my last post.

Line |
885 | $user.OneDriveSizeGB = (((($OneDrive | ? { $_.’Owner Prin …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Method invocation failed because [System.Object[]] does not contain a method named ‘op_Division’.

Regards

]]>
By: Sean McAvinue https://practical365.com/microsoft-365-tenant-to-tenant-migration-assessment-version-2/#comment-297242 Thu, 25 Jul 2024 05:23:23 +0000 https://practical365.com/?p=60859#comment-297242 In reply to PS.

H,
What version of the Exchange Online Management module are you using?

]]>
By: PS https://practical365.com/microsoft-365-tenant-to-tenant-migration-assessment-version-2/#comment-297224 Wed, 24 Jul 2024 19:58:53 +0000 https://practical365.com/?p=60859#comment-297224 Getting below when running assessment in PSv5. Tried running the Connect-ExchangeOnline and get below –

Error connecting to Exchange Online…Exiting…
Press Enter to continue…:
PS C:\temp\Assessment> Connect-ExchangeOnline -Certificate $Certificate -AppID $clientid -Organization ($orgdetails.verifieddomains | ? { $_.isinitial -eq “true” }).name -ShowBanner:$false
Function Get-DeviceComplianceSummaryReport cannot be created because function capacity 4096 has been exceeded for this scope.
At C:\Program Files\WindowsPowerShell\Modules\ExchangeOnlineManagement\3.5.1\netFramework\ExchangeOnlineManagement.psm1:766 char:21
+ throw $_.Exception;
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (Get-DeviceComplianceSummaryReport:String) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : FunctionOverflow

Found that using PSv7 works to avoid the above error but now getting below –

InvalidOperation: C:\TEMP\Assessment\Perform-TenantAssessment.ps1:885
Line |
885 | $user.OneDriveSizeGB = (((($OneDrive | ? { $_.’Owner Prin …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Method invocation failed because [System.Object[]] does not contain a method named ‘op_Division’.
PS C:\TEMP\Assessment>

]]>