0

I have a fairly simple PowerShell script that was (successfully) using a RunAs account for authentication; since RunAs is being retired, I have switched to Client / Secret credentials defined via App Registration. The Token is returned OK, but I'm having trouble with the associated permissions. I have defined an App Role, in the App Registration, which calls for a "Value"; help says "Specifies the value of the roles claim that the application should expect in the token. The value should exactly match the string referenced in the application's code. The value can't contain spaces", but it's unclear to me what is meant by the "string referenced in the application's code". The PowerShell is managing Azure AD External Identities / External Collaboration Settings. Help appreciated.

JohnD
  • 187
  • 11

0 Answers0