Report Group licensing and service plan details with Powershell

Occasional Contributor

I've been searching in vain for an example PS script to report group licensing assignments that also show service plans assigned to the group. I can find examples reporting service plan assignment for users but group seems to be eluding me. Can someone point me in the right way.....  ?

 

THX> Eric

 

1 Reply

I dont believe there is such a property for Groups, but you can simply look at the AssingedLicenses one, which also contains information about any disabledPlans, in turn allowing you to "reconstruct" the Service plans info:

 

https://graph.microsoft.com/beta/groups/84b18857-3c01-48be-b707-492019c57142?$select=assignedLicense...