Azure Dynamic Groups Licensing Reprocess PowerShell cmdlet
Please add a new PowerShell cmdlet to reprocess a group for Azure Dynamic Group based licensing. When transitioning from a direct assigned license over to azure dynamic group based licensing, there is no reprocess cmdlet on the group. Everything else can be scripted to transition the licenses over to Azure Dynamic Group based Licensing, except for reprocessing the group. We have transitioned about 10 out of 60 groups, and each time we have to login to the portal and click the reprocess button.
Jason Pociask commented
We have several hundred thousand users, will thousands added and deleted in some months, and our on-premise AD allows duplicated proxyAddresses values. We have a script to clean them up when a user with a duplicated value flows through Azure AD Connect, but then after the script clears the duplicated proxyAddresses value, and the Export succeeds, their dyn group license is in a failure state.
So we have to routinely manually visit the Azure Portal to open each affected group, access the list of affected users and click "Reprocess" on each user to get their dynamic group based licenses to apply (this is NOT "reprocess the group", just reprocess that user to allow their licenses to be applied.
Why can't Azure have a batch job that just runs through the dynamic groups with "License assignment errors" once each evening and simulate that "reprocess" click? Or can we have a Powershell cmdlet and script that can walk and reprocess those few affected users?
Tatu Seppälä commented
Good idea. It would also be nice to have commandlets for disabling/enabling individual features for group-based licensing, similar to the per-user command "Set-MsolUserLicense -LicenseOptions".