IntuneAppProtectionPolicyRequiredException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 : Microsoft.Identity.Client.MsalServiceException
type IntuneAppProtectionPolicyRequiredException = class
inherit MsalServiceException
Public Class IntuneAppProtectionPolicyRequiredException
Inherits MsalServiceException
- Inheritance
Constructors
IntuneAppProtectionPolicyRequiredException(String, String) |
Initializes a new instance of the exception class with a specified error code and error message. |
Fields
BrokerErrorCode |
An AdditionalExceptionData property key, available when using desktop brokers. (Inherited from MsalException) |
BrokerErrorContext |
An AdditionalExceptionData property key, available when using desktop brokers. (Inherited from MsalException) |
BrokerErrorStatus |
An AdditionalExceptionData property key, available when using desktop brokers. (Inherited from MsalException) |
BrokerErrorTag |
An AdditionalExceptionData property key, available when using desktop brokers. (Inherited from MsalException) |
BrokerTelemetry |
An AdditionalExceptionData property key, available when using desktop brokers. (Inherited from MsalException) |
ManagedIdentitySource |
An AdditionalExceptionData property key, available when using managed identity. (Inherited from MsalException) |
Properties
AccountUserId |
Local account id |
AdditionalExceptionData |
A property bag with extra details for this exception. (Inherited from MsalException) |
AuthorityUrl |
Authority URL |
Claims |
Additional claims requested by the service. When this property is not null or empty, this means that the service requires the user to provide additional claims, such as doing two factor authentication. The are two cases:
|
CorrelationId |
An ID that can used to piece up a single authentication flow. (Inherited from MsalException) |
ErrorCode |
Gets the protocol error code returned by the service or generated by the client. This is the code you can rely on for exception handling. Values for this code are typically provided in constant strings in the derived exceptions types with explanations of mitigation. (Inherited from MsalException) |
Headers |
Contains the HTTP headers from the server response that indicated an error. (Inherited from MsalServiceException) |
IsRetryable |
Indicates if the previous operation that resulted in this exception should be retried. (Inherited from MsalException) |
ResponseBody |
Raw response body received from the server. (Inherited from MsalServiceException) |
StatusCode |
Gets the status code returned from HTTP layer. This status code is either the |
TenantId |
Tenant ID of the App |
Upn |
UPN of the user |
Methods
ToJsonString() |
Allows serialization of most values of the exception into JSON. (Inherited from MsalException) |
ToString() |
Creates and returns a string representation of the current exception. (Inherited from MsalServiceException) |
UpdateIsRetryable() |
As per discussion with Evo, AAD (Inherited from MsalServiceException) |
Applies to
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de