IntuneAppProtectionPolicyRequiredException Class
- java.
lang. Object - Exception
- AuthenticationException
- com.
microsoft. aad. adal. IntuneAppProtectionPolicyRequiredException
- com.
public class IntuneAppProtectionPolicyRequiredException extends AuthenticationException
Constructor Summary
Constructor | Description | |
---|---|---|
IntuneAppProtectionPolicyRequiredException(final String msg, String accountUpn, String accountUserId, String tenantId, String authorityUrl) |
Method Summary
Modifier and Type | Method and Description |
---|---|
String | getAccountUpn() |
String | getAccountUserId() |
String | getAuthorityURL() |
String | getTenantId() |
Inherited Members
AuthenticationException.AuthenticationException()
AuthenticationException.AuthenticationException(ADALError code)
AuthenticationException.AuthenticationException(ADALError code, String details)
AuthenticationException.AuthenticationException(ADALError code, String details, Throwable throwable)
AuthenticationException.AuthenticationException(ADALError code, String details, HttpWebResponse response)
AuthenticationException.AuthenticationException(ADALError code, String details, HttpWebResponse response, Throwable throwable)
AuthenticationException.getCode()
AuthenticationException.getHttpResponseBody()
AuthenticationException.getHttpResponseHeaders()
AuthenticationException.getLocalizedMessage(Context context)
AuthenticationException.getMessage()
AuthenticationException.getServiceStatusCode()
Constructor Details
IntuneAppProtectionPolicyRequiredException
public IntuneAppProtectionPolicyRequiredException(final String msg, String accountUpn, String accountUserId, String tenantId, String authorityUrl)
Parameters:
msg
- Details related to the error such as query string, request info
accountUpn
- The UPN of the account, needed for Intune MAM enrollment.
accountUserId
- The unique ID of the account, needed for Intune MAM enrollment.
tenantId
- The tenant ID, needed of Intune MAM enrollment.
authorityUrl
- The authority URL, used by Intune MAM enrollment to support sovereign clouds. If null, default public cloud will be used.
Method Details
getAccountUpn
public String getAccountUpn()
getAccountUserId
public String getAccountUserId()
getAuthorityURL
public String getAuthorityURL()
getTenantId
public String getTenantId()
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for