question

developersp1-9584 avatar image
0 Votes"
developersp1-9584 asked ·

Your tenant administrator has to approve this app. App-Only CSOM

I'm using App Only permission in CSOM and set the permission like this in AppInv.aspx:

75264-snipaste-2021-03-08-13-55-28.png


However, it give me the capture below:

75233-snipaste-2021-03-08-13-52-38.png



I'm already the Tenant administrator and I really can't use real user credential in my CSOM code, please anyone can help me on this ?

office-sharepoint-server-development
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Jerryzy-MSFT avatar image
1 Vote"
Jerryzy-MSFT answered ·

Hi @developersp1-9584 ,

Redirect to the SharePoint Online Admin Center appinv.aspx using this url:

https://TenantName-admin.sharepoint.com/_layouts/15/appinv.aspx

75569-1.png

75651-sharepointapponly3.png

Thanks
Best Regards



If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.




1.png (68.2 KiB)
·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.