Run API requests for client tenants

Run API requests for client tenants
4

Upvotes

Upvote

 Feb 08 2022
2 Comments (2 New)
Completed

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.

Comments
Microsoft
Status changed to: Completed
 
Microsoft

Hi, we apologize for the confusion where to post your Graph feedback. This community was intended to be a temporary location to submit product feature suggestions between Microsoft moving off of UserVoice and the release of Microsoft's official Feedback portal app. Now that the latter is released, we encourage you to resubmit this great suggestion on the official Microsoft Graph Feedback portal at https://feedbackportal.microsoft.com/feedback/forum/ebe2edae-97d1-ec11-a7b5-0022481f3c80?page=1&sort....

Kind regards,

Linda

Microsoft 365 Developer Platform community steward