Closed kendallhester closed 9 months ago
My app listed metadata both inside and outside of the Application
subsection of the manifest file. I applied the Intune changes in the wrong subsection. After moving the necessary multi-identity metadata to the Application
subsection of the manifest file, the issue has resolved.
Intune Android App SDK Policy Enforcement Issue
Questions to Ask Before Submission
Have you completed the exit criteria for each phase in the [Intune App SDK for Android Integration Guide]? Yes
Have you checked the [Microsoft Intune App SDK for Android] repository for similar issues? Yes
Are you using the latest version of the [SDK]? Yes, v10.0.0
Summary
After following Phase 5: Multi-Identity of the integration guide, Intune-supported multi-identity is not working in my app. With
StrictMode
enabled, any attempt to set the Intune context identity results in aMAMStrictCheck.SEVERE_EVENT
being thrown, with the following message:com.microsoft.intune.mam.client.strict.MAMStrictModeCheckFailedError: MAM Strict Mode check SEVERE_EVENT failed. MultiIdentity needs to be enabled in AndroidManifest to call multi-identity API: <MAMIGNORE>setUIPolicyIdentity</MAMIGNORE>
I have verified that the suggested changes were made in the manifest file.
Repro Steps
Please provide concrete steps to reproduce the issue you are encountering.
True
in the manifest file. Ensure that MAM strict mode is enabled, and that the check forSEVERE_EVENT
is not disabled.MAMPolicyManager.SetUIPolicyIdentity(Context context, String identity, MAMSetUIIdentityCallbackmam SetUIIdentityCallback)
MAMStrictCheck
type will beSEVERE_EVENT
, with a stacktrace mentioning that MultiIdentity needs to be enabled in AndroidManifest to call multi-identity API.Expectation:
The Intune context identity is set successfully after calling
MAMPolicyManager.SetUIPolicyIdentity
.Observation:
A
SEVERE_EVENT
throws mentioning that a change is required in the manifest file, although the change has already been made.Details
Logs
Company Portal Logs
Incident ID: B7TU7X3P