cancel
Showing results for 
Search instead for 
Did you mean: 

access odata authentication issue - power automate

daniellemaree
Discoverer
0 Kudos

hiya,

im a newbie and trying to create a custom copilot for a client demo. 

I've followed the instructions to set up a dev account on sapes5.sapdevcenter.com

https://developers.sap.com/tutorials/gateway-demo-signup.html

I'm using power automate in a http request but when i'm accessing this site in the workflow it comes up with an authentication error. my credentials are correct as ive checked this

https://sapes5.sapdevcenter.com/sap/opu/odata/IWBEP/GWSAMPLE_BASIC/

i can access the site displaying the xml but the http request in the flow keeps erroring, is there anything else i need to do? 

thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi @daniellemaree,

Did you try logging in the system via automation as well? I suspect that you are either not sending all of the relevant information to the service interface that is required to perform logon (like sap-client = 002). 

Please read the following tutorial for all required attributes:

https://developers.sap.com/tutorials/cp-portal-cloud-foundry-gateway-connection.html

Once you are successfully authenticated, you should receive a cookie in the request named MYSAPSSO2 - which can and should be used for any further requests to this system - to avoid doble authentications, hence optimizing it for performance. 

Hope this helps.

Best regards,
Ivan