OriginalPostID-248086
Discussion posts and replies are publicly visible
Hi, So the Authorization Endpoint and Token Request Endpoint seems to be different then what I usually use. We use Authorization Endpoint as following login.microsoftonline.com/xxxxxxx/oauth2/authorize URI trying to access" XXXXXXXXXX is the resource id of the sharepoint which can be accessed from Azure and Token Endpoint is as following login.microsoftonline.com/xxxxxxxx/oauth2/token XXXXXXXX is the same resource id used in the auth endpoint. Hope this helps
Hi Chanakya Volam (chanakyav0001),
I am getting the below error.
Btw, I have registered Appian as a SharePoint Add-In.
Hi Arun,
You can follow below mentioned steps to identify / resolve this issue:
Hope you will be able to trace out the root cause of this failure.
Hi Chanakya Volam (chanakyav0001) ,
Thank you very much for the detailed info. I am now able to authenticate successfully and it seems like Refresh Token is also captured. But when I used this Connected System in the Integration where I am trying to upload document, I am getting the error below.
Hi Chanakya Volam
I finally figured it out. I have included ?resource=https://mytenantname.sharepoint.com in https://login.microsoftonline.com/common/oauth2/authorize?resource=https://mytenantname.sharepoint.com(Authorization URL)and it worked like a charm. :)
Thank you very much!
Hi,
Great that you figured it out. I thought informed to include resource in URL even I use resource in the URL