Run API requests for client tenants

Run API requests for client tenants
4

Upvotes

Upvote

 Feb 08 2022
0 Comments 
New

As an indirect CSP partner, we can list all our client tenants and then run tasks for these tenants using the old MSOnline PowerShell module by adding the -TenantId argument to each cmdlet. It seems this is no longer possible with the new Microsoft Graph API and cmdlets.

 

For example:

 

 

# MSOnline will return results from client tenant
Get-MsolSubscription -TenantId <client id>
# MS Graph will only return results from our own partner tenant
Get-MgSubscribedSku ??

 

 

Will this functionality be made available to bring these modules up to feature parity? At this time we can not replace the MSOnline module with the MS Graph Powershell SDK.