As an indirect CSP partner, we can list all our client tenants and then run tasks for these tenants using the old https://docs.microsoft.com/en-us/powershell/module/msonline/?view=azureadps-1.0 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.
2 Comments
- lindalu-MSFT
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=most-votes.
Kind regards,
Linda
Microsoft 365 Developer Platform community steward
- lindalu-MSFT
Microsoft
Status changed:NewtoCompleted