Azure-PowerShell-Snippets icon indicating copy to clipboard operation
Azure-PowerShell-Snippets copied to clipboard

Access Token missing or malformed

Open chazredman opened this issue 5 years ago • 0 comments

After using the AAD tool with much success for the past four months, we have found we now get the following error.

nvoke-RestMethod : {"odata.error":{"code":"Authentication_MissingOrMalformed","message":{"lang":"en","value":"Access Token missing or malformed."}}} At C:\Chaz\ToolBox\Devops\Atlas-Infrastructure\src\scripts\AzureMgmt\AADTool\Common.ps1:43 char:13

return (Invoke-RestMethod $uri -Method $method -Headers $headers ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand WARNING: Web Application Creation Failed I have already updated to the latest DLL, although I'm not sure why this wasn't updated in the last commit?

@crpub86

chazredman avatar Jul 18 '19 10:07 chazredman