Apps using tenant scope permissions in a local site

If you have an autohosted SharePoint app that requests tenant scope permissions and you set the target site to a local URL you might run into a problem when debugging from Visual Studio.

The certificate is added and the app deploys fine. The user is then prompted to grant the app permission but a message notifies us that the current user does not have permission to trust the app.

Sorry, only tenant administrators can add or give access to this app

So in order to grant a user “tenant administrator” rights in a local farm complete the following:

Add the account (not via a group) to the Farm Administrators role in Central Administration

Do an IISRESET after granting the permission.

When you re-deploy the app from VS the account should now be able to click the “Trust It” button.

And you’re off to the next hurdle…

Advertisements

Lenovo track pad gestures driving you crazy on Windows 8?

Lenovo recently updated their track pad drivers to recognise touch gestures in Windows 8. This means that you will notice that you can swipe in from the left edge to switch applications and swipe in from the right edge to bring up the charms bar.

At first this seems cool but when you try and use the machine for real work this causes some issues… trust me I saw the funny (and distracting) side-effects in a workshop today!

In my opinion it’s much more efficient and accurate to spend some time learning the hotkeys for operating the “touch functions” of Windows 8.

So here is how you can disable these new “features”:

  1. From the Windows 8 start screen
  2. Hit “Windows Key + W”
  3. Type “mouse”
  4. Choose “Change mouse settings”

  1. Click “Settings” in the TouchPad section of the UltraNav tab

  1. Expand the “Application Gestures” node on the left to turn off the undesired gestures.