OriginalPostID-248086
Discussion posts and replies are publicly visible
Hi,
I was able to authenticate but no refresh token is captured. Also, when I use the Connected System in Integration, I am getting 403. Please see the images below.
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 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!
Great that you figured it out. I thought informed to include resource in URL even I use resource in the URL