PU
Technical author

Priyanshu Upadhyay

Solution Architect, Microsoft 365 and Azure · InnovaticT Technologies · Noida, India

About

Microsoft 365 solution architect, tech lead and trainer. Delivers tenant-to-tenant migrations, SharePoint governance, Teams, Intune and Power Platform work, and leads a team of about ten engineers. Has trained close to 10,000 engineers and end users.

Contributions on this site

19scripts
12answers
5labs
5designs

Latest work

>_ ScriptReport30 Nov 2026

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.

PnP PowerShellSPO Management ShellCLI for Microsoft 365
PUPriyanshu UpadhyayView script →
AnswerHigh impact30 Nov 2026

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.

PUPriyanshu UpadhyayOpen →
Lab30 Nov 2026

Register an app for PnP PowerShell and connect

Since September 2024 PnP PowerShell no longer ships a shared multi-tenant app. You register your own app once per tenant and use its client ID every time you connect.

Beginner
PUPriyanshu UpadhyayOpen →
>_ ScriptSecurity29 Nov 2026

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.

PnP PowerShellSPO Management Shell
PUPriyanshu UpadhyayView script →
AnswerMedium impact29 Nov 2026

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.

PUPriyanshu UpadhyayOpen →
>_ ScriptReport28 Nov 2026

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.

SPO Management ShellMicrosoft Graph PowerShell
PUPriyanshu UpadhyayView script →