Hello
I'm stuck at step "Need admin approval"
This type of credential will cause a browser window to open, asking to provide Azure credentials
unfortunately I cannot authenticate with my MSFT account
and receive the pop up message
" [email protected]
Need admin approval
adt-clientapp-cma
adt-clientapp-cma needs permission to access resources in your organization that only an admin can grant. Please ask an admin to grant permission to this app before you can use it.
Have an admin account? Sign in with that account
Return to the application without granting consent"
I followed carefully the previous steps .
Can you help ?
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@chmagitt
Thanks for the feedback! We are currently investigating and will update you shortly.
@chmagitt Could you please pin point exact location of the document section where you are stuck with login? to better understand the issue.
Hello
I’m stuck here in the documentation:
“in your command window, run the program with command dotnet run”
[A screenshot of a cell phone Description automatically generated]
Here is the output of my console
[A screenshot of a cell phone Description automatically generated]
And I cannot authenticate correctly
Here is the error message
[A screenshot of a cell phone Description automatically generated]
@chmagitt Thanks for the info, the attached screenshots are not uploaded properly, if possible please retry to upload. Make sure no sensitive info is uploaded. I will work on my side and will update you shortly.


This is what happen when I launch the client app to load a model
@chmagitt
Thanks for the details! We are currently investigating and will update you shortly.
@chmagitt I have followed below steps to upload the sample model to my ADT.
Step 1: Author SampleModel.json file

Step 2: Register an App and give permissions to Azure Digital Twins in my org.

Step 3: I have exclusively created a test user account in my org with owner permissions and then assigned the Azure Digital Twins to the test user. So that it will be used while interactive login. [You can recheck on this step with your Subscription permissions]
az dt role-assignment create --dt-name Myadt --assignee "[email protected]" --role "Azure Digital Twins Owner (Preview)"
Step 4: Use Interactive mode for login & Authentication to upload the Model json file.

Browser page

It went well with no issues in interactive login, so now i use post man to query the ADT to see if i have my Model uploaded.

Please let us know if you need further help in troubleshooting this issue.
@chmagitt
Just checking back! Please let us know if you need further help.
@chmagitt Just checking back! please let us know if you are still stuck and we would be happy to help you on this issue.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.
Hi
you can close the issue
the problem is at app registration level and due to restriction in Microsoft tenant using FTE internal subscription. I had to open a case to MS IT to allow access to the app reg
thanks a lot for your support
@chmagitt Thank you for the info, this resolution really helps others as well with similar issue.