Skip to content

Unable to Register-PnPManagementShellAccess #317

@junterpfe

Description

@junterpfe

I am working in GCCH and i am unable to complete the Registration
Register-PnPManagementShellAccess -AzureEnvironment USGovernment

i was able to do so before the new version of PnP released several months ago but am getting an error now

Message: AADSTS65006: Resource '797f4846-ba00-4fd7-ba43-dac1f8f63013' had no entitlements matching required permissions configured on the required resource access for client '31359c7f-bd7e-475c-86db-fdb8c937548e'. Requested permission IDs: '41094075-9dad-400e-a0bd-54e686782033'. This is a problem with one or more invalid permission ids on the client RRA configuration or the resource entitlement configuration.

questioning if this has to do with differences with GCCH endpoints and if someone can work with me internally about it, i am willing/able to do testing.

it could be something simple like this:
GCCH
https://login.microsoftonline.us/common/oauth2/deviceauth
vs
Commercial
https://login.microsoftonline.com/common/oauth2/deviceauth

for example.

it generates the code, lets me login, and then i get to the "trouble signing you in page"

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