Minting a token for MFE

Hiya! I get this error when trying to mint an Milestone Microfrontend Auth token:
( storybook - Storybook )

Invoke-RestMethod : {“error”: “Entra authentication failed: invalid_request (AADSTS90002: Tenant ‘traxmate.io’ not
found. Check to make sure you have the correct tenant ID and are signing into the correct cloud. Check with your
subscription administrator, this may happen if there are no active subscriptions for the tenant. Trace ID:
d6cc3a4f-c084-44e1-b234-a8a252dc0900 Correlation ID: 992a4fb3-1f6b-4958-9e81-4a1520b3c94e Timestamp: 2026-07-29
14:20:29Z) [token_endpoint=https://4321ea88-b4d3-4729-a8db-e18baa8c6f30.ciamlogin.com/4321ea88-b4d3-4729-a8db-e18baa8c6
f30/oauth2/v2.0/token]”}
At line:1 char:1

Invoke-RestMethod -Method POST -Uri "https://npm-auth.portal.develope …

  + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
 eption
  + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand


Do I not have access to mint tokens? I can log in normally with the account on the developer portal.

For context: I used to use another account for minting tokens, but that one seems to have since been deleted (not my account orginally), that’s why I haven’t run into this issue until now.

Hey Filip

Sorry for the long reply time. We misread you question and got it mixed up.

We have moved to a new login solution, which means that you will have to use your “user principal name” instead of your username. This can be found by loging into developer portal and checking your profile.

We have described it here (log into the portal before clicking the link)
https://portal.developer.milestonesys.com/docs/npm-auth-guide

Find the section “Finding Your User Principal Name (UPN)“ and follow those steps.

Please reach out again, if this doesn’t work.

1 Like