Skip to content

Authorization Access Token is null, please re-run authentication... #46

@ArashFarmahini

Description

@ArashFarmahini

getting below message after insert my credential

Authorization Access Token is null, please re-run authentication...

If I mark this line as a comment in the script, I will get below error

Checking for AzureAD module...

Request to https://graph.microsoft.com/Beta/deviceAppManagement/mobileAppCategories failed with HTTP Status 401 Unauthorized
Response content:
{
"error": {
"code": "InvalidAuthenticationToken",
"message": "Bearer access token is empty.",
"innerError": {
"request-id": "f97793aa-6e39-41f4-85b9-96b2cd2c7706",
"date": "2018-06-18T22:17:35"
}
}
}

here is my computer details
Win 2k12 R2 DataCenter, 2.0.1.11 AzureADPreview, 2.0.1.10 AzureAD

I can confirm, all scripts are working fine on Windows 10; I have tested on 2 windows 10 and 2 server 2012. Windows 10 worked fine but not on servers.

any idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions