Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello guys, I am facing a problem when I try to perform a get on the API I'm developing command. Did they could to help?
I have to get to get acesstoken, but when I make a get any (group list), the system returns me the error 403 (unauthorized access).
I have tested everything and I can not make the get, I've checked the permissions on my azzure directory and also checked the uri, what could it be? Here some pictures of my code and it returns me ...
I am very grateful if you help me!
Hello Friend @Eric_Zhang! Thank you so much for your answer. As you said, I tried to work with the postman did not work, I managed to get success with acesstoken, but when I try to run the get command, still returns me the error 403 (as printscreen attached).
What can it be? I'm desperate, I do not know what can be.
Waiting for one answer!! Thanks a lot for the help!
@brunozanoelo wrote:Hello Friend @Eric_Zhang! Thank you so much for your answer. As you said, I tried to work with the postman did not work, I managed to get success with acesstoken, but when I try to run the get command, still returns me the error 403 (as printscreen attached).
What can it be? I'm desperate, I do not know what can be.
Waiting for one answer!! Thanks a lot for the help!
The access token in the picture looks weird. Ususally a valid token is starting with "ey",like "eyJ0eXAiOiJKV1QiLCxxxxxx", how did you get that access token?
HI @Eric_Zhang! Thank you for your reply...
I got this access token in the postman, in the button "Get new access token".
Apparently it seems that acesstoken is wrong?
To get the accessToken I informed these settings in the postman:
Hello my friend @Eric_Zhang, Fine?
I deleted my application and remade from scratch, as the steps that give the power of bi site, apparently everything is okay but I still can not make the get command.
One strange thing I noticed was that if I run in production mode in the apiary, I can make successfully get command, but the postman not...
Well, I seem to get the global scenario.
So
@Eric_Zhang, my application is in delphi programming language and is used in desktop, so the app registration must be in Native client app, correct? Whitout the secret client ID, is that correct?
See this image of all permissions granted for my app, i think is all fine.
i think is something about the configuration of my app, idk, because in the postman i got the same error (403).
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
2 | |
2 | |
1 | |
1 |