web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Custom Connector to access Graph API

(0) ShareShare
ReportReport
Posted on by 11

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

I have the same question (0)
  • yeinerlop Profile Picture
    on at
    Re: Custom Connector to access Graph API

    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

  • deacs Profile Picture
    11 on at
    Re: Custom Connector to access Graph API

    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

     
     
  • yeinerlop Profile Picture
    on at
    Re: Custom Connector to access Graph API

    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

  • Verified answer
    deacs Profile Picture
    11 on at
    Re: Custom Connector to access Graph API

    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 

  • yeinerlop Profile Picture
    on at
    Re: Custom Connector to access Graph API

    Hello @deacs As always it was my pleasure to assist you on this issue 

  • deacs Profile Picture
    11 on at
    Re: Custom Connector to access Graph API

    Any further ideas on how to resolve?

    thanks

    Ben

  • yeinerlop Profile Picture
    on at
    Re: Custom Connector to access Graph API

    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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 614 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 401 Moderator

#3
chiaraalina Profile Picture

chiaraalina 282

Last 30 days Overall leaderboard