Forum Discussion

robcaretta's avatar
robcaretta
Copper Contributor
Sep 30, 2022
Solved

Disabling App Creation Page (appregnew.aspx)

We would like to use strictly graph apps to control access. Is it possible to disable this SharePoint app creation page at the tenant level or for all site collections?  The page to create the apps is this...

/_layouts/15/appregnew.aspx

  • robcaretta Try using this SharePoint PowerShell: 

     

    Set-SPOTenant - DisableCustomAppAuthentication $true

     

    DocumentationSet-SPOTenant  

    Check this article which will be helpful for additional information: Azure App, ACS, SP-App only and Disable Custom App Authentication 


    Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

2 Replies

  • robcaretta Try using this SharePoint PowerShell: 

     

    Set-SPOTenant - DisableCustomAppAuthentication $true

     

    DocumentationSet-SPOTenant  

    Check this article which will be helpful for additional information: Azure App, ACS, SP-App only and Disable Custom App Authentication 


    Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

    • Mel_Zak's avatar
      Mel_Zak
      Copper Contributor

      ganeshsanap Do you know if the disabling of this takes some time?  After setting this to true, does it need time to propagate through the tenant?  Setting this to true on the tenant still allowed the ability to get to the page  _layouts/15/AppRegNew.aspx and generate a SharePoint app-only (legacy) registration.  Are there any other settings in conjunction with this setting that might need to be set as well?