Class IntuneAppProtectionPolicyRequiredException
This exception is thrown when Intune requires app protection policy. The information in this exception can be used by app to obtain the required enrollment ID from Mobile App Management (MAM) SDK. See https://aka.ms/msal-net-trueMAM
public class IntuneAppProtectionPolicyRequiredException : MsalServiceException, ISerializable
- Inheritance
-
IntuneAppProtectionPolicyRequiredException
- Implements
- Inherited Members
Constructors
IntuneAppProtectionPolicyRequiredException(string, string)
Initializes a new instance of the exception class with a specified error code and error message.
public IntuneAppProtectionPolicyRequiredException(string errorCode, string errorMessage)
Parameters
errorCode
stringThe error code returned by the service or generated by the client. This is the code you can rely on for exception handling.
errorMessage
stringThe error message that explains the reason for the exception.
Properties
AccountUserId
Local account id
public string AccountUserId { get; set; }
Property Value
AuthorityUrl
Authority URL
public string AuthorityUrl { get; set; }
Property Value
TenantId
Tenant ID of the App
public string TenantId { get; set; }
Property Value
Upn
UPN of the user
public string Upn { get; set; }