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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / SAP connector using SS...
Power Automate
Unanswered

SAP connector using SSO : Error from token exchange

(0) ShareShare
ReportReport
Posted on by 171

We want to connect Power Platform to SAP using SSO. We have setup the onprem gateway. and environment. We can create a Flow to SAP using SAP hardcoded authentication. To setup SSO, we have followed this article , https://blogs.sap.com/2023/06/19/principal-propagation-in-a-multi-cloud-solution-between-microsoft-azure-and-sap-part-vii-invoke-rfcs-and-bapis-with-kerberos-delegation-from-microsoft-power-platform/

 

In the 'Call SAP function (v2)' step, we have used this configuration

{ "MessageServerHost": "",

"Client": "xxx",

"LogonType": "Group",

"MessageServerService": "xxxx",

"SncLibraryPath": "",

"SncPartnerName": "",

"SncQOP": "Default",

"SncSso": "On",

"SystemID": "",

"UseSnc": "true" }

 

When we run the flow, we get error " Error from token exchange : Permission denied due to missing Connection ACL" Please advise

Categories:
I have the same question (0)
  • scottwoodall Profile Picture
    Microsoft Employee on at

    Hello @jjpreston291 -

     

    Can you share a client request ID so I can check our logs to investigate further? If there isn't a client request ID that is presented in the user interface; you can check the browsers developer tools for this information.

     

    Cheers,

    Scott

  • jpreston4 Profile Picture
    171 on at

    @Scott 

    Thanks for the response. 

    ID is "65524db4-20b8-4d54-ab94-555368d9949c"

     

    jjpreston291_0-1695138353671.png

     

  • scottwoodall Profile Picture
    Microsoft Employee on at

    @jjpreston291 thank you for sharing.

     

    For this particular error, the most helpful logs will be on the on-premises data gateway server. We can increase the verbosity of our SAP Common Crypto Lib logs by editing the sapcrypto.ini file on the gateway machine. Add the following and then restart the on-premises data gateway service.

     

    ccl/trace/level=4
    ccl/trace/directory=C:\somedirectory\logs

     

    After these changes have been made and the service restarted; go back to Power Automate and reproduce the error. There should be additional log files in the directory that you specified to help understand the root cause.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard