locked
SharePoint online Apps are not getting trusted with app only policy even with SharePoint Global Admin RRS feed

  • Question

  • Hi All,

    I have a  Global Admin privilege for SharePoint online and I am trying to create the app with the below “Permission Request XML” and I am getting the error "Sorry, only tenant administrators can add or give access to this app", I am facing this issue since from yesterday and earlier I was having able to trust the apps.

    <AppPermissionRequests AllowAppOnlyPolicy="true">

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

        <AppPermissionRequest

            Scope="http://sharepoint/taxonomy"

            Right="Write" />

        <AppPermissionRequest

            Scope="http://sharepoint/content/sitecollection"

            Right="FullControl" />         

    </AppPermissionRequests>

    Apart from creating the new app the existing app having same app permission has above was working till these days and stopped working now and giving exception in the below line which we were using to update the user profile values.

    SetSingleValueProfileProperty("i:0#.f|membership|myemailid@xyz.com", "LastName", "Anystringvalue");

    I am assuming both issue are correlated, and facing same issue in my local tenant also.

    In many of the other MSDN this been asked but many of the workaround wont workout for me as its SharePoint online.

    Please suggest.

    Thanks,

    Shiva

    Tuesday, September 27, 2016 10:27 AM

Answers

  • There was an update recently on how the add-ins are installed. For all the add ins with app only tenant admin permissions, tenant admin have to approve for the use of apps during installation.

    Here are the steps on how the process flow is.

    1 Add add-in with app only tenant admin permissions, to app catalog.

    2.Go the site contents in the site  where you want to use the add-in.

    3.Click on add-in to install, it will display a message "You can't add app here"" Find out why".

    Findoutwhy

    4.Click on "Find out why". It will take navigate to the Add in approval request page. Click on "Request  Approval".

    Request approval

    5.The app approval request goes to tenant admin who has to approve the app installation. Tenant admin has to browse to app catalog and check the app requests pending for approval.

    App Request

    6.Click on the app in "App Requests" list, tenant admin should be able to approve the app.

    Approve app

    7.Now go back to the site contents of the site where the add-in to be installed. and click on the ad-in, you should now be able to trust the app to install.

    Install app

    The request approval flow applies to tenant admin if he want to install an app in any site. Tenant admin request approval in the site and then go to the app catalogue to approve the app request, then only he would be able to get back to site contents and install the app.


    aravinda

    Tuesday, October 4, 2016 2:26 AM

All replies

  • Hi,

    ​What plan do you have for your office 365 subscription?You must have an E-level plan to install Apps that have the "Tenant" permission in the manifest.  Small business plans will not allow you to install these Apps.

    Hope it helps .


    Whenever you see a reply and if you think is helpful, click &quot;Vote As Helpful&quot;! And whenever you see a reply being an answer to the question of the thread, click &quot;Mark As Answer


    • Edited by MeShare Tuesday, September 27, 2016 3:00 PM
    Tuesday, September 27, 2016 2:56 PM
  • Hi Meshare,

    Thanks for the response, we are using E3 trail and as i mentioned in the post it was working fine these days and stopped working recently.

    Thanks,

    Shiva


    Wednesday, September 28, 2016 11:49 AM
  • There was an update recently on how the add-ins are installed. For all the add ins with app only tenant admin permissions, tenant admin have to approve for the use of apps during installation.

    Here are the steps on how the process flow is.

    1 Add add-in with app only tenant admin permissions, to app catalog.

    2.Go the site contents in the site  where you want to use the add-in.

    3.Click on add-in to install, it will display a message "You can't add app here"" Find out why".

    Findoutwhy

    4.Click on "Find out why". It will take navigate to the Add in approval request page. Click on "Request  Approval".

    Request approval

    5.The app approval request goes to tenant admin who has to approve the app installation. Tenant admin has to browse to app catalog and check the app requests pending for approval.

    App Request

    6.Click on the app in "App Requests" list, tenant admin should be able to approve the app.

    Approve app

    7.Now go back to the site contents of the site where the add-in to be installed. and click on the ad-in, you should now be able to trust the app to install.

    Install app

    The request approval flow applies to tenant admin if he want to install an app in any site. Tenant admin request approval in the site and then go to the app catalogue to approve the app request, then only he would be able to get back to site contents and install the app.


    aravinda

    Tuesday, October 4, 2016 2:26 AM