Skip to content

Instantly share code, notes, and snippets.

@ricalo
Last active August 29, 2015 14:18
Show Gist options
  • Save ricalo/636a7f702783fe0492f0 to your computer and use it in GitHub Desktop.
Save ricalo/636a7f702783fe0492f0 to your computer and use it in GitHub Desktop.
Tell ADAL to not try to use a broker account for Microsoft Intune. Note that if you don't skip the broker or if you don't have Microsoft Intune portal app installed you'll get a warning. The warning alerts that you need the following permissions in your app manifest:- GET_ACCOUNTS- USE_CREDENTIALS- MANAGE_ACCOUNTS
// We're not using Microsoft Intune's Company portal app,
// skip the broker check.
AuthenticationSettings.INSTANCE.setSkipBroker(true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment