The InnovaticT Community for Microsoft 365 admins
PnP PowerShell and Microsoft Graph scripts, answers to real support tickets, labs and architecture for Microsoft 365, Entra ID, Intune, Exchange Online, SharePoint, Active Directory, Configuration Manager and hybrid environments. Free to use, written from delivery work.
Latest script samples
The same task in PnP PowerShell, Microsoft Graph PowerShell, CLI for Microsoft 365 and the native modules. Pick your tool on every sample.
6 shown
Report site collection administrators for every site
Lists every site collection in the tenant with its site collection administrators, so you can find sites with no owner, a single owner, or a former employee still holding admin rights. Useful before a migration and in quarterly access reviews.
Find sites with external sharing turned on
Reports the sharing capability of every site so security and migration teams can see which sites allow anonymous links or guests, and compare them with the tenant default.
OneDrive storage usage per user
Builds a OneDrive storage report for capacity planning and migration sizing: owner, storage used, file count and last activity. Two approaches: the SharePoint admin view of personal sites, and the Microsoft Graph usage report.
Find users who have not signed in for 90 days
Finds enabled member accounts with no interactive or non-interactive sign-in in the last 90 days, a common first step for licence reclamation and before migration waves.
Licence assignment report by SKU
Shows how many licences you own, how many are assigned, and which users hold each SKU, with friendly names for the SKU part numbers. Run it before buying more licences or planning a migration.
Assign licences in bulk from a CSV
Assigns a licence to every user in a CSV, sets the usage location first when it is missing, and optionally disables service plans such as Exchange Online for users who are waiting for a mailbox migration.
Explore the community
Scripts and tools
19 free PowerShell and Graph samples, filtered by product, tool and scenario.
Answers
12 real support tickets with symptom, cause and fix.
Labs
5 step-by-step walkthroughs to run in a test tenant.
Architecture
5 reference designs with diagrams.
Migrations
Everything for tenant-to-tenant and hybrid moves in one library.
Blog
8 in-depth guides with stories and screenshots.
Speaking
Sessions available for user groups and conferences.
Contributions
Where we contribute in the Microsoft community, and how you can too.
Recent answers
Real tickets, written up so the next admin fixes it in minutes.
Cross-tenant mailbox move fails within minutes: MissingExchangeGuidException
A user in a new cross-tenant migration batch goes to Failed a few minutes after the batch starts. The error summary mentions MissingExchangeGuidException or that the target mailbox could not be found.
Shared mailbox does not appear in Outlook after Full Access was granted
A user has Full Access to a shared mailbox and can open it in Outlook on the web, but it never appears in Outlook for Windows.
External senders get a bounce when they email a distribution group
Partners emailing support@contoso.com receive a non-delivery report saying they are not authorized to send to the group. Internal senders are fine.
InnovaticT