dirkjanm / ROADtools

A collection of Azure AD/Entra tools for offensive and defensive security purposes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect authority URL for Azure Government

PandaSPUR opened this issue · comments

get_authority_url of .\roadlib\auth.py needs to be updated to support Azure Government deployments. For example, in the US the URL would be login.microsoftonline.us, not .com.

Attempting to auth to login.microsoftonline.com results in an "unknown user" error.

Shouldn't be too hard to add this, however I can't test any of this myself since I lack access to a gov account.