Hi @Pablo Peralta ,
Thanks for reaching out.
I understand you are trying to get the access token and registered the application in the "Microsoft Tenant".
Since you are connected to the Microsoft Services tenant as a standard user with restricted access, you cannot perform actions such as creating new users, groups, enterprise applications, and so on. To perform administrative actions, you must have administrative access to the tenant.
For this purpose, you need to create your own tenant rather than using the Microsoft Services (f8cdef31-a31e-4b4a-93e4-5f571e91255a) tenant. When you create a new tenant, you by default become the Global Administrator of the new tenant and have full access to all the options in that tenant.
To create a new tenant, open in-private/incognito browser window (just to avoid SSO), access https://azure.microsoft.com/en-us/free/ to create a free Azure account.
Once the new account is created, you should be able to see and switch to the new tenant by clicking on the settings icon as highlighted below:
Refer the similar ask: https://learn.microsoft.com/en-us/answers/questions/1377925/issue-while-logging-in-to-azure-entra-portal-aadst
Hope this will help.
Thanks,
Shweta
Please remember to "Accept Answer" if answer helped you.