Managing iOS devices using Microsoft Intune
Setting aadClientIdOverride and aadAuthorityUriOverride at runtime is supported, but both commercial and GCC High tenants must be backed by valid Microsoft Entra app registrations and the Intune SDK must be correctly configured for each environment.
From the Intune iOS SDK perspective:
- Base configuration in Info.plist (commercial)
InInfo.plist→IntuneMAMSettings:-
ADALClientId: client ID of the commercial tenant app registration. -
ADALAuthority: commercial authority (if the app is single-tenant). -
ADALRedirectUriorADALRedirectScheme: redirect URI for the commercial app.
-
ADALClientIdis required for all apps. -
ADALAuthorityis required if the app is single-tenant; otherwise the common authority is used. - One of
ADALRedirectUriorADALRedirectSchemeis required for all apps.
-
- Runtime overrides for GCC High
The SDK explicitly supports overriding Entra settings at runtime:
For GCC High users, in addition to“Apps can override these Microsoft Entra settings at runtime. To do this, simply set the
aadAuthorityUriOverride,aadClientIdOverride, andaadRedirectUriOverrideproperties on theIntuneMAMSettingsclass.”aadClientIdOverrideandaadAuthorityUriOverride, ensure that:-
aadRedirectUriOverrideis set to the GCC High app’s redirect URI (or a scheme consistent withADALRedirectSchemeif used). - The GCC High app registration is created in the GCC High tenant and configured with the same redirect URI the app uses.
-
- Per-tenant app registrations
Each environment (commercial and GCC High) must have its own Microsoft Entra app registration with:- Matching client ID and redirect URI to what the app/overrides use.
- Correct authority (commercial cloud vs Azure Government for GCC High).
- No extra Intune-specific GCC High switches
The Intune App SDK configuration itself does not require a special GCC High flag. GCC High support is achieved by:- Using the correct GCC High authority in
ADALAuthority/aadAuthorityUriOverride. - Using the correct GCC High app registration values via overrides.
- Using the correct GCC High authority in
So, for GCC High users, aadClientIdOverride and aadAuthorityUriOverride are necessary but not sufficient alone; also configure aadRedirectUriOverride (or ensure redirect handling matches) and ensure the GCC High app registration and authority are correct. With those in place, the same app can support both commercial and GCC High tenants.
References: