Skip to content

Access Token missing or malformed #14

Description

@cred-man

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions