Hi,
I've created an enterprise app and have attempted to hook it into a custom connector to access the graph api (and do some awesome stuff with power automate!), but have drawn a blank! I followed the instructions at this link: https://docs.microsoft.com/en-us/connectors/custom-connectors/azure-active-directory-authentication but seem to get a token error when actually using the connector. Looks like I'm getting an invalid authentication token - any ideas? Does this require an Azure AD premium licence at all? Thanks, deacs
Hello @deacs I'm going to tested in my environment, in the meantime, could you please let me know if you copied and paste the correct client ID/client secret?
Hello - thanks very much! Yes - pretty sure I did. I took the application id from the properties page and the resource url as https://management.core.windows.net/ - thanks B
Hello @deacs I did a test everything works fine so I would like to check a couple of things.
1- could you please check the Redirect URLs. (should be the same in 2 parts,from azure and from the security part in the custom connector).
2- please check if the Azure Service management permission was added. This is from azure
Oooh - I only have the one: https://global.consent.azure-apim.net/redirect
I tried adding the msmanaged one as well, but getting the same error.
Does it make a difference if the account that I'm impersonating doesn't have a licence? (sorry new to all this...)
Confirmed I have the user_impersonation permission
Thanks for your help on this one @Yeiner
Hello @deacs As always it was my pleasure to assist you on this issue
Any further ideas on how to resolve?
thanks
Ben
Hello @deacs Is there a way that you can open a ticket? If so please add the link of this forum. 🙂
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tomac 497 Moderator
Michael E. Gernaey 477 Super User 2025 Season 2
chiaraalina 242