![]()
Your tenant administrator has to approve this app โ 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 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 โ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: |
localhost |
Then I went to the โ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="sharepoint/content/tenant" Right="FullControl" /> </AppPermissionRequests>
After adding the above app permission XML, click on the โCreateโ button.
![[Fixed]: Your tenant administrator has to approve this app in office 365 3 Permission request XML with tenant scope in SharePoint Online](https://i0.wp.com/global-sharepoint.com/wp-content/uploads/2020/08/Permission-request-XML-with-tenant-scope-in-SharePoint-Online.jpg?resize=1084%2C516&ssl=1)
ย
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.
ย
![[Fixed]: Your tenant administrator has to approve this app in office 365 4 Check app permissions SharePoint Online, Do you trust SharePoint Scanner Tool - Your tenant administrator has to approve this app](https://i0.wp.com/global-sharepoint.com/wp-content/uploads/2020/08/Do-you-trust-SharePoint-Scanner-Tool-Your-tenant-administrator-has-to-approve-this-app.jpg?resize=1084%2C449&ssl=1)
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 the tenant administrator to fix this issue, you yourself could fix this. ๐
Solution: your tenant administrator has to approve this app
Just we need to change the site URL to the SharePoint admin center URL like below:
โglobalsharepoint2020-admin.sharepoint.com/_layouts/15/appinv.aspxโ
![[Fixed]: Your tenant administrator has to approve this app in office 365 5 SharePoint App permission Request XML, Tenant Scope Permission request XML in SharePoint Online (Office 365)](https://i0.wp.com/global-sharepoint.com/wp-content/uploads/2020/08/Tenant-Scope-Permission-request-XML-in-SharePoint-Online-Office-365.jpg?resize=1084%2C915&ssl=1)
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.
![[Fixed]: Your tenant administrator has to approve this app in office 365 6 your tenant administrator has to approve this app, Trust it button is enabled in tenant scope permission request XML in SharePoint Online](https://i0.wp.com/global-sharepoint.com/wp-content/uploads/2020/08/Trust-it-button-is-enabled-in-tenant-scope-permission-request-XML-in-SharePoint-Online.jpg?resize=1084%2C542&ssl=1)
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: your tenant administrator has to approve this app
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: SharePoint Troubleshooting
You may also like the below SharePoint troubleshooting articles:
- [Fixed]: How to fix No gulpfile found in SPFx framework project
- [Fixed] Error โ activate the SharePoint Server Publishing Infrastructure feature in SharePoint Online site
- [Fixed] Server relative urls must start with SPWeb.ServerRelativeUrlโin reading web part properties!
- [Fixed]: The page could not be created. Custom Scripting might be deactivated on the destination site or you might not have sufficient permissions.
- [Fixed] The upgraded database schema doesnโt match the TargetSchema(Failed to upgrade SharePoint Products)
- [Fixed] โSorry, something went wrong. There was an exception in the Databaseโ (SharePoint Server Error)
- [Fixed] How to fix the โUnexpected response from server. The status code of response is โ500โ in SharePoint 2016 Search error.โ?
- [Fixed] How to fix the wrong tenant credential error in SharePoint online?
- [Fixed] How to fix request timed out error in SharePoint 2016 search (There was no endpoint listening)?
- [Fixed] How to Fix a SharePoint 404 Error in sub site After Restoring a Content Database?
- Your tenant administrator has to approve this app. App-Only CSOM
ย
About Post Author
Discover more from Global SharePoint
Subscribe to get the latest posts sent to your email.