An API that connects multiple Microsoft services, enabling data access and automation across platforms
Tenant Governance, GDAP, Powershell Graph and WAM
Hey folks,
Newer versions of Powershell Graph use WAM for the sign-in and this can no longer be disabled. I configured tenant governance and delegated access to the governed tenant via GDAP works.
But WAM apparently does not support GDAP. There is an issue on Github about that behaviour: https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/3613
The provided workaround (deviceCodeFlow OR older version) is hardly usable.
I found a better workaround: Az module can be used, because WAM can be disabled here. The accesstoken can then be handed over Connect-MgGraph.
This works today, but it is unclear to me if this is really sustainable or if WAM will be deactivated in Az module eventually, too.
Also it would be interesting to understand if GDAP support will be added to WAM / powershell graph sdk.
Greetings,
Tobias