Your tenant administrator has to approve this app in office 365 - Fixed

[Fixed]: Your tenant administrator has to approve this app in office 365

No comments

 1,329 total views,  11 views today

Recently I was working with the SharePoint modernization scanner tool, where one of the authentication methods was “Azure ACS App Only”. I am very hands-on to generate the client id and client secret because previously many times I did that, so with the confidence, I started generating the client ID and client secret ID, unfortunately, ended up with the error “Your tenant administrator has to approve this app”, so, in this troubleshooting, I will share how to fix this issue.

I went to the “https://globalsharepoint2020.sharepoint.com/_layouts/15/appregnew.aspx” page to generate the client ID, and was successfully able to generate the below client id and client secret:

The app identifier has been successfully created.

Client Id:

Sample_Client_ID

Client Secret:

Sample_Client_Secret

Title:

SharePoint Scanner Tool

App Domain:

localhost

Redirect URI:

https://localhost

Then I went to the https://globalsharepoint2020.sharepoint.com/_layouts/15/appinv.aspx page to register the app permission XML, there I stuck up, once I entered the below permission XML:

<AppPermissionRequests AllowAppOnlyPolicy="true">
  <AppPermissionRequest Scope="http://sharepoint/content/tenant" Right="FullControl" />
</AppPermissionRequests>

After adding the above app permission XML, click on the “Create” button.

Permission request XML with tenant scope in SharePoint Online
Permission request XML with tenant scope in SharePoint Online

 

We will get the below error message:

Do you trust SharePoint Scanner Tool?

Your tenant administrator has to approve this app.

Let it have full control of all site collections.

Let it share its permissions with other users.

Let it access basic information about the users of this site.

 

Do you trust SharePoint Scanner Tool - Your tenant administrator has to approve this app
Do you trust SharePoint Scanner Tool – Your tenant administrator has to approve this app

Note – here “Trust it” button is disabled.

How to fix this “Your tenant administrator has to approve this app” error?

No worries, you don’t need to go to tenant administrator to fix this issue, you yourself could fix this. 🙂

Solution

Just we need to change site URL to SharePoint admin center URL like below:

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

Tenant Scope Permission request XML in SharePoint Online (Office 365)
Tenant Scope Permission request XML in SharePoint Online (Office 365)

Now, click on the “Create” button.

Then, we could see that the “Trust it” button is enabled, and once we click on it, the tenant scope permission request XML will be registered.

Trust it button is enabled in tenant scope permission request XML in SharePoint Online
Trust it button is enabled in tenant scope permission request XML in SharePoint Online

Key-takeaway:

In tenant scope permission request XML, we must pass the SharePoint online admin center URL, otherwise we cannot register the tenant scope app permission.

Summary

Thus, in this troubleshooting technique, we have learned about how to fix “Your tenant administrator has to approve this app” in the office 365 tenant.

See Also

You may also like the below SharePoint troubleshooting articles:

Free download SharePoint Online & Office 365 Administration eBook(238 Pages)

Get the PDF eBook from here:


[purchase_link id="0" style="button" color="blue" text="Free Download SharePoint Online & Office 365 Administration"]

 

 
FREE DOWNLOAD

Send download link to:

Subscribe to get exclusive content and recommendations every month. You can unsubscribe anytime.