I have registered 2 apps in Azure AD one to contain the delegated permissions and another to contain the application permissions relevant to desired MS graph endpoint calls. I have configured 2 custom connectors, one mapping to delegate permissions app and other to application permissions app with actions in my power apps solutions. I have used the actions in my power apps. It works well when I playback during development but results in access denied and similar errors when I test the app as an end user.
I have read as much of the docs as I can and the only thing I can't comprehend is the part about using access token in the calls. Should I be passing the access tokens in the headers of the actions requiring delegated permission or for application permissions or for both?
If I need to do it to both then
1. how do I get hold of access tokens?
2. What is the validity period of access tokens?
3. If the validity is short term, then how can I make it easy to change these tokens across multitude of actions easily?
Any advice would be appreciated
@Priyaranjan, I have followed your blog post Provision Teams using Power Apps and Graph API closely as this is one of my use cases

Report
All responses (
Answers (