Gerenios / AADInternals

AADInternals PowerShell module for administering Azure AD and Office 365
http://aadinternals.com/aadinternals
MIT License
1.3k stars 217 forks source link

adding Get-AuthRedirectUrl within #54

Closed elmerguevara closed 1 year ago

elmerguevara commented 1 year ago

Get-AccessTokenWithPRT is currently failing when trying to get a Teams Access Token with a PRT. Get-AccessTokenWithPRT is currently hardcoded to use urn:ietf:wg:oauth:2.0:oob which is not a valid RedirectUrl for Teams.

$response.html.body.script is not a valid property to parse the auth code from,