Hi Everyone,
I am currently working on integrating Microsoft Graph API with Pega Sales Automation (version 25.1.2) and would like to clarify the Out-of-the-Box (OOTB) support for different permission types.
Current Behavior:
-
Delegated Permissions: When we configure the Graph Authentication Profile with Delegated Permissions, we are unable to call the Graph APIs integrated within Sales Automation. We consistently receive a “Missing Permission Access” error, even though the permissions are granted on the Azure side.
-
Application Permissions: When using Application Permissions, the integration works as expected, and we can successfully execute the API calls.
Reference followed: Updating the Graph authentication profile
Questions:
-
Does Pega Sales Automation currently support Delegated Permissions OOTB for its standard Graph integrations, or is the OOTB functionality restricted to Application-level permissions only?
-
If Delegated Permissions are not supported OOTB, what is the recommended approach?
-
Should we build a custom wrapper API to handle the OAuth2.0 Authorization Code flow?
-
If a wrapper is built, what is the best practice for plugging this into the existing Sales Automation framework to ensure features like calendar/email sync continue to function?
-
Any guidance or documentation on handling user-level delegated context within Sales Automation would be greatly appreciated.
Thank you!