Login to Azure Portal at for your O365 Tenant.Just adding this here since the Azure Portal is slightly different now. More automated and simpler results retrieving method using bash & curl (Linux) Open a new Postman's tab and create a new GET request byĪuthorization Bearer eyJ0eXAiOiJKV1Q-verylongstring-0GFpSYw Resource Send button and copy your access_token on response's Body tab. Pasting URI: "Bearer realm value without double quotes here"/tokens/OAuth/2Īdding header (on Headers tab): KEY VALUEĬontent-Type application/x-www-form-urlencodedĪdding body key/value parameters (on Body tab): KEY VALUEĬlient_id 4/T+21I1DSoAJdOX9DL1Ne4KssEaP7rqb11gdtskhXn= Open a new Postman's tab and create new POST request by.Go to response's Headers tab and click the WWW-Authenticate key's valueĬopy and save these parameters: Bearer realm="a998899-ad83-234a-af83-8238af989898" #SharePoint Online Tennant IdĬlient_id="00000003-0000-0ff1-ce00-000000000000" #Resource information value You do not have permission to perform this action or access this resource. 2147024891, System.UnauthorizedAccessExceptionĪccess denied. You'll get an error which you should ignore: Pasting into Permission Request XML the next code (in my case I needed only Read access, so I changed Rights value from FullControl to Read): Save somewhere into file the next parameters: The app identifier has been successfully created.Ĭlient Id: 898c898f-89238-43d0-4b2d-7a64c26f386aĬlient Secret: 4/T+21I1DSoAJdOX9DL1Ne4KssEaP7rqb11gdtskhXn= filling Title, App Domain and Redirect URI fields (I've input as on the picture - it works). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |