Using an Azure AD App to get SharePoint token to use with REST API (not throught Graph)

%3CLINGO-SUB%20id%3D%22lingo-sub-284825%22%20slang%3D%22en-US%22%3EUsing%20an%20Azure%20AD%20App%20to%20get%20SharePoint%20token%20to%20use%20with%20REST%20API%20(not%20throught%20Graph)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-284825%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20guys%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20would%20like%20to%20ask%20you%20if%20is%20possible%20to%26nbsp%3Brequest%20a%20SharePoint%20token%20to%20use%20with%20REST%20API%20with%20the%20permissions%20given%20by%20the%20Azure%20AD%20App%20(by%20registering%20the%20app%20on%20azure%2C%20giving%20the%20permissions%20and%20consenting%20the%20app%20on%20the%20tenant)%20to%20avoid%20registering%20an%20app%20on%20the%20SharePoint%20site%20and%20also%20to%20avoid%20to%20use%20Graph%20API%20to%20request%20data%20from%20SharePoint%20(since%20we%20don't%20have%20all%20methods%20available%20yet)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20tried%20few%20things%20(also%20requesting%20the%20issuer%20from%20SharePoint%20resource)%20but%20wasn't%20able%20to%20do%20it%2C%20so%20I'm%20wondering%20if%20is%20possible%20and%20if%20it%20is%2C%20what%20I'm%20misssing.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20in%20advance%20for%20all!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-833094%22%20slang%3D%22en-US%22%3ERe%3A%20Using%20an%20Azure%20AD%20App%20to%20get%20SharePoint%20token%20to%20use%20with%20REST%20API%20(not%20throught%20Graph)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-833094%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F91185%22%20target%3D%22_blank%22%3E%40Douglas%20Rom%C3%A3o%3C%2FA%3E%26nbsp%3BDo%20you%20have%20a%20solution%20for%20this%20issue%3F%3CBR%20%2F%3EI%20am%20also%20facing%20this%20problem.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hello guys,

 

I would like to ask you if is possible to request a SharePoint token to use with REST API with the permissions given by the Azure AD App (by registering the app on azure, giving the permissions and consenting the app on the tenant) to avoid registering an app on the SharePoint site and also to avoid to use Graph API to request data from SharePoint (since we don't have all methods available yet)

 

I tried few things (also requesting the issuer from SharePoint resource) but wasn't able to do it, so I'm wondering if is possible and if it is, what I'm misssing.

 

Thanks in advance for all!

1 Reply
Highlighted

@Douglas Romão Do you have a solution for this issue?
I am also facing this problem.