cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
deacs
New Member

Custom Connector to access Graph API

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

 

Annotation 2020-02-14 173553.png

1 ACCEPTED SOLUTION

Accepted Solutions

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

Annotation 2020-02-17 223002.png

 

Thanks for your help on this one @Yeiner 

View solution in original post

7 REPLIES 7
Yeiner
Microsoft
Microsoft

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? client.JPG

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

 

permissions.JPGredirect.JPG

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

Annotation 2020-02-17 223002.png

 

Thanks for your help on this one @Yeiner 

View solution in original post

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. 🙂  

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (89,981)