Edu Lorenzo
Edu Lorenzo

Reputation: 165

Get APIM access token using Powershell

I am trying to get an access token from an azure apim.

The token, when I retrieve from the Azure Portal (Azure portal -> APIM instance -> Management API -> Enable Management REST API -> Access Token -> Generate) looks like "SharedAccessSignature integration&2021022706..."

But when I use Get-AzApiManagementSsoToken the value returned looks different : "https://myapi.portal.azure-api.net:443/signin-sso?token=1%2620210128070..."

Is there a different powershell command to retrieve the Access Token similar to the one in the portal?

Upvotes: 1

Views: 581

Answers (1)

Related Questions