microsoft / Dynamics-AX-Integration

Dynamics AX Integration samples and demos.
287 stars 356 forks source link

Unauthorized using the D365 to Onedrive Logic Apps example #49

Open ccampora opened 6 years ago

ccampora commented 6 years ago

Hello, I have used the D365 to Onedrive example however I am not sure if I need to do any additional to make it work against an add-on environment (Microsoft managed in public cloud). It works fine for sandbox environments in my private subscription however for public cloud I got the message

{ "status": 401, "message": "{\r\n \"Message\": \"Authentication failed.\",\r\n \"StackTrace\": null,\r\n \"ExceptionType\": \"System.InvalidOperationException\"\r\n}\r\nclientRequestId: bcc57362-17ba-429c-9307-815a5aaa931c", "source": "ft-master-stagingdevaos.sandbox.ax.dynamics.com", "errors": [] }

I have admin rights in that environments. Any ideas? Thank you.