Skip to content

Access Token missing or malformed #14

@chazredman

Description

@chazredman

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

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