Notifications
Announcements
No record found.
Hi,
I'd like to call my web service on my dev enviroment. I did add in Azure Active Directory my app but I can't get the token since I don't know where to find the tenant of my env.
If im correct it shoud look like this.
login.microsoftonline.com/{tenantid}/oauth2/token
Hi RadekM,
You can find the tenant ID two ways.
1) Open URL in browser. Click the question mark in the top right corner, and open the About window. Here you can see the tenant id in Serial number field, and tenant name just above it.
2) Go to Portal.azure.com > Azure Active Directory > Properties. The directory ID it shows there is your tenant ID.
Thanks,
yet I still can't connect so there must be some more configuration into it.
I'M using the same app credentials as on our sandbox where I can connect without problems, yet on my dev it says that the application id is not found in directory.
Did you add application id in Azure Active Directory applications form?
learn.microsoft.com/.../services-home-page
Yes, I added it. THe same client_id and user as on our sandbox yet the problem exist.
Application with identifier '' was not found in the directory ''. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.\r\nTrace
As you are saying it is your dev environment, can you check if you have access to azure portal -> Azure app registration?
I have access to azure portal yet, I have there only read privileges.
Are these parameters good to connect with my dev machine?
Even if you have read only permission, that would help you to find these parameters. Secret value will not be visible as it is available only while creation. In the below screenshot of yours, it looks good. I use the same when I configure in postman
So I have no more ideas. We have the same app configured on our sandbox and I can connect there I use the same parameters on my dev env and I can't connect as the error shows in my previous post. It's sad I can't test my webservices before push on our sandbox...
you can test this via postman.
Do a simple test using the auth token and trigger a read on customer groups.
I`ve given the steps in my blogs. please refer and let me know if you have any doubts
anithasantosh.wordpress.com/.../
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Abhilash Warrier 677 Super User 2025 Season 2
André Arnaud de Cal... 421 Super User 2025 Season 2
Martin Dráb 317 Most Valuable Professional