Hey Qingjun_Chen Nino_Bilic ,
Is there any update in the service principal requirement?
Even after using the Admin consent URL to fetch code and access token, I am getting an error.
Service principal-less Authentication failed: the service principal for App ID 8bd644d1-64a1-4d4b-ae52-2e0cbf64e373 was not found. Please create a service principal for this app in your tenant. Provisioning may take several hours to complete. For details, see: https://learn.microsoft.com/entra/identity-platform/retire-service-principal-less-authentication?branch=main#create-a-service-principal
https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/create-service-principal-cross-tenant?pivots=admin-consent-url&branch=main#create-an-enterprise-application