Tenant Governance, GDAP, Powershell Graph and WAM

MrAzureAD 81 Reputation points
2026-10-29T10:53:32+00:00

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

Microsoft Security | Microsoft Graph
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.