Package com.microsoft.graph.models
Class Application
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DirectoryObject
com.microsoft.graph.models.Application
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class Application
extends DirectoryObject
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Application
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the addIns property value.getApi()
Gets the api property value.getAppId()
Gets the appId property value.Gets the applicationTemplateId property value.Gets the appManagementPolicies property value.Gets the appRoles property value.Gets the authenticationBehaviors property value.Gets the certification property value.Gets the createdDateTime property value.Gets the createdOnBehalfOf property value.Gets the defaultRedirectUri property value.Gets the description property value.Gets the disabledByMicrosoftStatus property value.Gets the displayName property value.Gets the extensionProperties property value.Gets the federatedIdentityCredentials property value.The deserialization information for the current modelGets the groupMembershipClaims property value.Gets the homeRealmDiscoveryPolicies property value.Gets the identifierUris property value.getInfo()
Gets the info property value.Gets the isDeviceOnlyAuthSupported property value.Gets the isFallbackPublicClient property value.Gets the keyCredentials property value.byte[]
getLogo()
Gets the logo property value.Gets the nativeAuthenticationApisEnabled property value.getNotes()
Gets the notes property value.Gets the oauth2RequirePostResponse property value.Gets the optionalClaims property value.Gets the owners property value.Gets the parentalControlSettings property value.Gets the passwordCredentials property value.Gets the publicClient property value.Gets the publisherDomain property value.Gets the requestSignatureVerification property value.Gets the requiredResourceAccess property value.Gets the samlMetadataUrl property value.Gets the serviceManagementReference property value.Gets the servicePrincipalLockConfiguration property value.Gets the signInAudience property value.getSpa()
Gets the spa property value.Gets the synchronization property value.getTags()
Gets the tags property value.Gets the tokenEncryptionKeyId property value.Gets the tokenIssuancePolicies property value.Gets the tokenLifetimePolicies property value.Gets the uniqueName property value.Gets the verifiedPublisher property value.getWeb()
Gets the web property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the addIns property value.void
setApi
(ApiApplication value) Sets the api property value.void
Sets the appId property value.void
setApplicationTemplateId
(String value) Sets the applicationTemplateId property value.void
Sets the appManagementPolicies property value.void
setAppRoles
(List<AppRole> value) Sets the appRoles property value.void
Sets the authenticationBehaviors property value.void
setCertification
(Certification value) Sets the certification property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
Sets the createdOnBehalfOf property value.void
setDefaultRedirectUri
(String value) Sets the defaultRedirectUri property value.void
setDescription
(String value) Sets the description property value.void
Sets the disabledByMicrosoftStatus property value.void
setDisplayName
(String value) Sets the displayName property value.void
Sets the extensionProperties property value.void
Sets the federatedIdentityCredentials property value.void
setGroupMembershipClaims
(String value) Sets the groupMembershipClaims property value.void
Sets the homeRealmDiscoveryPolicies property value.void
setIdentifierUris
(List<String> value) Sets the identifierUris property value.void
setInfo
(InformationalUrl value) Sets the info property value.void
Sets the isDeviceOnlyAuthSupported property value.void
setIsFallbackPublicClient
(Boolean value) Sets the isFallbackPublicClient property value.void
setKeyCredentials
(List<KeyCredential> value) Sets the keyCredentials property value.void
setLogo
(byte[] value) Sets the logo property value.void
Sets the nativeAuthenticationApisEnabled property value.void
Sets the notes property value.void
Sets the oauth2RequirePostResponse property value.void
setOptionalClaims
(OptionalClaims value) Sets the optionalClaims property value.void
setOwners
(List<DirectoryObject> value) Sets the owners property value.void
Sets the parentalControlSettings property value.void
Sets the passwordCredentials property value.void
Sets the publicClient property value.void
setPublisherDomain
(String value) Sets the publisherDomain property value.void
Sets the requestSignatureVerification property value.void
Sets the requiredResourceAccess property value.void
setSamlMetadataUrl
(String value) Sets the samlMetadataUrl property value.void
Sets the serviceManagementReference property value.void
Sets the servicePrincipalLockConfiguration property value.void
setSignInAudience
(String value) Sets the signInAudience property value.void
setSpa
(SpaApplication value) Sets the spa property value.void
Sets the synchronization property value.void
Sets the tags property value.void
setTokenEncryptionKeyId
(UUID value) Sets the tokenEncryptionKeyId property value.void
Sets the tokenIssuancePolicies property value.void
Sets the tokenLifetimePolicies property value.void
setUniqueName
(String value) Sets the uniqueName property value.void
Sets the verifiedPublisher property value.void
setWeb
(WebApplication value) Sets the web property value.Methods inherited from class com.microsoft.graph.models.DirectoryObject
getDeletedDateTime, setDeletedDateTime
Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Application
public Application()Instantiates a newApplication
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static Application createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
Application
-
getAddIns
Gets the addIns property value. Defines custom behavior that a consuming service can use to call an app in specific contexts. For example, applications that can render file streams can set the addIns property for its 'FileHandler' functionality. This lets services like Microsoft 365 call the application in the context of a document the user is working on. -
getApi
Gets the api property value. Specifies settings for an application that implements a web API.- Returns:
- a
ApiApplication
-
getAppId
Gets the appId property value. The unique identifier for the application that is assigned to an application by Microsoft Entra ID. Not nullable. Read-only. Alternate key. Supports $filter (eq).- Returns:
- a
String
-
getApplicationTemplateId
Gets the applicationTemplateId property value. Unique identifier of the applicationTemplate. Supports $filter (eq, not, ne). Read-only. null if the app wasn't created from an application template.- Returns:
- a
String
-
getAppManagementPolicies
Gets the appManagementPolicies property value. The appManagementPolicy applied to this application.- Returns:
- a
List<AppManagementPolicy>
-
getAppRoles
Gets the appRoles property value. The collection of roles defined for the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable. -
getAuthenticationBehaviors
Gets the authenticationBehaviors property value. The authenticationBehaviors property- Returns:
- a
AuthenticationBehaviors
-
getCertification
Gets the certification property value. Specifies the certification status of the application.- Returns:
- a
Certification
-
getCreatedDateTime
Gets the createdDateTime property value. The date and time the application was registered. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderby.- Returns:
- a
OffsetDateTime
-
getCreatedOnBehalfOf
Gets the createdOnBehalfOf property value. Supports $filter (/$count eq 0, /$count ne 0). Read-only.- Returns:
- a
DirectoryObject
-
getDefaultRedirectUri
Gets the defaultRedirectUri property value. The defaultRedirectUri property- Returns:
- a
String
-
getDescription
Gets the description property value. Free text field to provide a description of the application object to end users. The maximum allowed size is 1,024 characters. Supports $filter (eq, ne, not, ge, le, startsWith) and $search.- Returns:
- a
String
-
getDisabledByMicrosoftStatus
Gets the disabledByMicrosoftStatus property value. Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not).- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The display name for the application. Maximum length is 256 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby.- Returns:
- a
String
-
getExtensionProperties
Gets the extensionProperties property value. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0).- Returns:
- a
List<ExtensionProperty>
-
getFederatedIdentityCredentials
Gets the federatedIdentityCredentials property value. Federated identities for applications. Supports $expand and $filter (startsWith, /$count eq 0, /$count ne 0).- Returns:
- a
List<FederatedIdentityCredential>
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classDirectoryObject
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getGroupMembershipClaims
Gets the groupMembershipClaims property value. Configures the groups claim issued in a user or OAuth 2.0 access token that the application expects. To set this attribute, use one of the following valid string values: None, SecurityGroup (for security groups and Microsoft Entra roles), All (this gets all of the security groups, distribution groups, and Microsoft Entra directory roles that the signed-in user is a member of).- Returns:
- a
String
-
getHomeRealmDiscoveryPolicies
Gets the homeRealmDiscoveryPolicies property value. The homeRealmDiscoveryPolicies property- Returns:
- a
List<HomeRealmDiscoveryPolicy>
-
getIdentifierUris
Gets the identifierUris property value. Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://<appId>, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Microsoft Entra application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). -
getInfo
Gets the info property value. Basic profile information of the application such as app's marketing, support, terms of service and privacy statement URLs. The terms of service and privacy statement are surfaced to users through the user consent experience. For more info, see How to: Add Terms of service and privacy statement for registered Microsoft Entra apps. Supports $filter (eq, ne, not, ge, le, and eq on null values).- Returns:
- a
InformationalUrl
-
getIsDeviceOnlyAuthSupported
Gets the isDeviceOnlyAuthSupported property value. Specifies whether this application supports device authentication without a user. The default is false.- Returns:
- a
Boolean
-
getIsFallbackPublicClient
Gets the isFallbackPublicClient property value. Specifies the fallback application type as public client, such as an installed application running on a mobile device. The default value is false, which means the fallback application type is confidential client such as a web app. There are certain scenarios where Microsoft Entra ID can't determine the client application type. For example, the ROPC flow where it's configured without specifying a redirect URI. In those cases, Microsoft Entra ID interprets the application type based on the value of this property.- Returns:
- a
Boolean
-
getKeyCredentials
Gets the keyCredentials property value. The collection of key credentials associated with the application. Not nullable. Supports $filter (eq, not, ge, le).- Returns:
- a
List<KeyCredential>
-
getLogo
@Nullable public byte[] getLogo()Gets the logo property value. The main logo for the application. Not nullable.- Returns:
- a
invalid reference
byte[]
-
getNativeAuthenticationApisEnabled
Gets the nativeAuthenticationApisEnabled property value. Specifies whether the Native Authentication APIs are enabled for the application. The possible values are: none and all. Default is none. For more information, see Native Authentication.- Returns:
- a
EnumSet<NativeAuthenticationApisEnabled>
-
getNotes
Gets the notes property value. Notes relevant for the management of the application.- Returns:
- a
String
-
getOauth2RequirePostResponse
Gets the oauth2RequirePostResponse property value. The oauth2RequirePostResponse property- Returns:
- a
Boolean
-
getOptionalClaims
Gets the optionalClaims property value. Application developers can configure optional claims in their Microsoft Entra applications to specify the claims that are sent to their application by the Microsoft security token service. For more information, see How to: Provide optional claims to your app.- Returns:
- a
OptionalClaims
-
getOwners
Gets the owners property value. Directory objects that are owners of this application. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.- Returns:
- a
List<DirectoryObject>
-
getParentalControlSettings
Gets the parentalControlSettings property value. Specifies parental control settings for an application.- Returns:
- a
ParentalControlSettings
-
getPasswordCredentials
Gets the passwordCredentials property value. The collection of password credentials associated with the application. Not nullable.- Returns:
- a
List<PasswordCredential>
-
getPublicClient
Gets the publicClient property value. Specifies settings for installed clients such as desktop or mobile devices.- Returns:
- a
PublicClientApplication
-
getPublisherDomain
Gets the publisherDomain property value. The verified publisher domain for the application. Read-only. For more information, see How to: Configure an application's publisher domain. Supports $filter (eq, ne, ge, le, startsWith).- Returns:
- a
String
-
getRequestSignatureVerification
Gets the requestSignatureVerification property value. Specifies whether this application requires Microsoft Entra ID to verify the signed authentication requests.- Returns:
- a
RequestSignatureVerification
-
getRequiredResourceAccess
Gets the requiredResourceAccess property value. Specifies the resources that the application needs to access. This property also specifies the set of delegated permissions and application roles that it needs for each of those resources. This configuration of access to the required resources drives the consent experience. No more than 50 resource services (APIs) can be configured. Beginning mid-October 2021, the total number of required permissions must not exceed 400. For more information, see Limits on requested permissions per app. Not nullable. Supports $filter (eq, not, ge, le).- Returns:
- a
List<RequiredResourceAccess>
-
getSamlMetadataUrl
Gets the samlMetadataUrl property value. The URL where the service exposes SAML metadata for federation. This property is valid only for single-tenant applications. Nullable.- Returns:
- a
String
-
getServiceManagementReference
Gets the serviceManagementReference property value. References application or service contact information from a Service or Asset Management database. Nullable.- Returns:
- a
String
-
getServicePrincipalLockConfiguration
Gets the servicePrincipalLockConfiguration property value. Specifies whether sensitive properties of a multitenant application should be locked for editing after the application is provisioned in a tenant. Nullable. null by default.- Returns:
- a
ServicePrincipalLockConfiguration
-
getSignInAudience
Gets the signInAudience property value. Specifies the Microsoft accounts that are supported for the current application. The possible values are: AzureADMyOrg (default), AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount, and PersonalMicrosoftAccount. See more in the table. The value of this object also limits the number of permissions an app can request. For more information, see Limits on requested permissions per app. The value for this property has implications on other app object properties. As a result, if you change this property, you might need to change other properties first. For more information, see Validation differences for signInAudience.Supports $filter (eq, ne, not).- Returns:
- a
String
-
getSpa
Gets the spa property value. Specifies settings for a single-page application, including sign out URLs and redirect URIs for authorization codes and access tokens.- Returns:
- a
SpaApplication
-
getSynchronization
Gets the synchronization property value. Represents the capability for Microsoft Entra identity synchronization through the Microsoft Graph API.- Returns:
- a
Synchronization
-
getTags
Gets the tags property value. Custom strings that can be used to categorize and identify the application. Not nullable. Strings added here will also appear in the tags property of any associated service principals.Supports $filter (eq, not, ge, le, startsWith) and $search. -
getTokenEncryptionKeyId
Gets the tokenEncryptionKeyId property value. Specifies the keyId of a public key from the keyCredentials collection. When configured, Microsoft Entra ID encrypts all the tokens it emits by using the key this property points to. The application code that receives the encrypted token must use the matching private key to decrypt the token before it can be used for the signed-in user.- Returns:
- a
UUID
-
getTokenIssuancePolicies
Gets the tokenIssuancePolicies property value. The tokenIssuancePolicies property- Returns:
- a
List<TokenIssuancePolicy>
-
getTokenLifetimePolicies
Gets the tokenLifetimePolicies property value. The tokenLifetimePolicies property- Returns:
- a
List<TokenLifetimePolicy>
-
getUniqueName
Gets the uniqueName property value. The unique identifier that can be assigned to an application and used as an alternate key. Immutable. Read-only.- Returns:
- a
String
-
getVerifiedPublisher
Gets the verifiedPublisher property value. Specifies the verified publisher of the application. For more information about how publisher verification helps support application security, trustworthiness, and compliance, see Publisher verification.- Returns:
- a
VerifiedPublisher
-
getWeb
Gets the web property value. Specifies settings for a web application.- Returns:
- a
WebApplication
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serialize
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
serialize
in classDirectoryObject
- Parameters:
writer
- Serialization writer to use to serialize this model
-
setAddIns
Sets the addIns property value. Defines custom behavior that a consuming service can use to call an app in specific contexts. For example, applications that can render file streams can set the addIns property for its 'FileHandler' functionality. This lets services like Microsoft 365 call the application in the context of a document the user is working on.- Parameters:
value
- Value to set for the addIns property.
-
setApi
Sets the api property value. Specifies settings for an application that implements a web API.- Parameters:
value
- Value to set for the api property.
-
setAppId
Sets the appId property value. The unique identifier for the application that is assigned to an application by Microsoft Entra ID. Not nullable. Read-only. Alternate key. Supports $filter (eq).- Parameters:
value
- Value to set for the appId property.
-
setApplicationTemplateId
Sets the applicationTemplateId property value. Unique identifier of the applicationTemplate. Supports $filter (eq, not, ne). Read-only. null if the app wasn't created from an application template.- Parameters:
value
- Value to set for the applicationTemplateId property.
-
setAppManagementPolicies
Sets the appManagementPolicies property value. The appManagementPolicy applied to this application.- Parameters:
value
- Value to set for the appManagementPolicies property.
-
setAppRoles
Sets the appRoles property value. The collection of roles defined for the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable.- Parameters:
value
- Value to set for the appRoles property.
-
setAuthenticationBehaviors
Sets the authenticationBehaviors property value. The authenticationBehaviors property- Parameters:
value
- Value to set for the authenticationBehaviors property.
-
setCertification
Sets the certification property value. Specifies the certification status of the application.- Parameters:
value
- Value to set for the certification property.
-
setCreatedDateTime
Sets the createdDateTime property value. The date and time the application was registered. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderby.- Parameters:
value
- Value to set for the createdDateTime property.
-
setCreatedOnBehalfOf
Sets the createdOnBehalfOf property value. Supports $filter (/$count eq 0, /$count ne 0). Read-only.- Parameters:
value
- Value to set for the createdOnBehalfOf property.
-
setDefaultRedirectUri
Sets the defaultRedirectUri property value. The defaultRedirectUri property- Parameters:
value
- Value to set for the defaultRedirectUri property.
-
setDescription
Sets the description property value. Free text field to provide a description of the application object to end users. The maximum allowed size is 1,024 characters. Supports $filter (eq, ne, not, ge, le, startsWith) and $search.- Parameters:
value
- Value to set for the description property.
-
setDisabledByMicrosoftStatus
Sets the disabledByMicrosoftStatus property value. Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not).- Parameters:
value
- Value to set for the disabledByMicrosoftStatus property.
-
setDisplayName
Sets the displayName property value. The display name for the application. Maximum length is 256 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby.- Parameters:
value
- Value to set for the displayName property.
-
setExtensionProperties
Sets the extensionProperties property value. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0).- Parameters:
value
- Value to set for the extensionProperties property.
-
setFederatedIdentityCredentials
Sets the federatedIdentityCredentials property value. Federated identities for applications. Supports $expand and $filter (startsWith, /$count eq 0, /$count ne 0).- Parameters:
value
- Value to set for the federatedIdentityCredentials property.
-
setGroupMembershipClaims
Sets the groupMembershipClaims property value. Configures the groups claim issued in a user or OAuth 2.0 access token that the application expects. To set this attribute, use one of the following valid string values: None, SecurityGroup (for security groups and Microsoft Entra roles), All (this gets all of the security groups, distribution groups, and Microsoft Entra directory roles that the signed-in user is a member of).- Parameters:
value
- Value to set for the groupMembershipClaims property.
-
setHomeRealmDiscoveryPolicies
Sets the homeRealmDiscoveryPolicies property value. The homeRealmDiscoveryPolicies property- Parameters:
value
- Value to set for the homeRealmDiscoveryPolicies property.
-
setIdentifierUris
Sets the identifierUris property value. Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://<appId>, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Microsoft Entra application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith).- Parameters:
value
- Value to set for the identifierUris property.
-
setInfo
Sets the info property value. Basic profile information of the application such as app's marketing, support, terms of service and privacy statement URLs. The terms of service and privacy statement are surfaced to users through the user consent experience. For more info, see How to: Add Terms of service and privacy statement for registered Microsoft Entra apps. Supports $filter (eq, ne, not, ge, le, and eq on null values).- Parameters:
value
- Value to set for the info property.
-
setIsDeviceOnlyAuthSupported
Sets the isDeviceOnlyAuthSupported property value. Specifies whether this application supports device authentication without a user. The default is false.- Parameters:
value
- Value to set for the isDeviceOnlyAuthSupported property.
-
setIsFallbackPublicClient
Sets the isFallbackPublicClient property value. Specifies the fallback application type as public client, such as an installed application running on a mobile device. The default value is false, which means the fallback application type is confidential client such as a web app. There are certain scenarios where Microsoft Entra ID can't determine the client application type. For example, the ROPC flow where it's configured without specifying a redirect URI. In those cases, Microsoft Entra ID interprets the application type based on the value of this property.- Parameters:
value
- Value to set for the isFallbackPublicClient property.
-
setKeyCredentials
Sets the keyCredentials property value. The collection of key credentials associated with the application. Not nullable. Supports $filter (eq, not, ge, le).- Parameters:
value
- Value to set for the keyCredentials property.
-
setLogo
public void setLogo(@Nullable byte[] value) Sets the logo property value. The main logo for the application. Not nullable.- Parameters:
value
- Value to set for the logo property.
-
setNativeAuthenticationApisEnabled
public void setNativeAuthenticationApisEnabled(@Nullable EnumSet<NativeAuthenticationApisEnabled> value) Sets the nativeAuthenticationApisEnabled property value. Specifies whether the Native Authentication APIs are enabled for the application. The possible values are: none and all. Default is none. For more information, see Native Authentication.- Parameters:
value
- Value to set for the nativeAuthenticationApisEnabled property.
-
setNotes
Sets the notes property value. Notes relevant for the management of the application.- Parameters:
value
- Value to set for the notes property.
-
setOauth2RequirePostResponse
Sets the oauth2RequirePostResponse property value. The oauth2RequirePostResponse property- Parameters:
value
- Value to set for the oauth2RequirePostResponse property.
-
setOptionalClaims
Sets the optionalClaims property value. Application developers can configure optional claims in their Microsoft Entra applications to specify the claims that are sent to their application by the Microsoft security token service. For more information, see How to: Provide optional claims to your app.- Parameters:
value
- Value to set for the optionalClaims property.
-
setOwners
Sets the owners property value. Directory objects that are owners of this application. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.- Parameters:
value
- Value to set for the owners property.
-
setParentalControlSettings
Sets the parentalControlSettings property value. Specifies parental control settings for an application.- Parameters:
value
- Value to set for the parentalControlSettings property.
-
setPasswordCredentials
Sets the passwordCredentials property value. The collection of password credentials associated with the application. Not nullable.- Parameters:
value
- Value to set for the passwordCredentials property.
-
setPublicClient
Sets the publicClient property value. Specifies settings for installed clients such as desktop or mobile devices.- Parameters:
value
- Value to set for the publicClient property.
-
setPublisherDomain
Sets the publisherDomain property value. The verified publisher domain for the application. Read-only. For more information, see How to: Configure an application's publisher domain. Supports $filter (eq, ne, ge, le, startsWith).- Parameters:
value
- Value to set for the publisherDomain property.
-
setRequestSignatureVerification
Sets the requestSignatureVerification property value. Specifies whether this application requires Microsoft Entra ID to verify the signed authentication requests.- Parameters:
value
- Value to set for the requestSignatureVerification property.
-
setRequiredResourceAccess
Sets the requiredResourceAccess property value. Specifies the resources that the application needs to access. This property also specifies the set of delegated permissions and application roles that it needs for each of those resources. This configuration of access to the required resources drives the consent experience. No more than 50 resource services (APIs) can be configured. Beginning mid-October 2021, the total number of required permissions must not exceed 400. For more information, see Limits on requested permissions per app. Not nullable. Supports $filter (eq, not, ge, le).- Parameters:
value
- Value to set for the requiredResourceAccess property.
-
setSamlMetadataUrl
Sets the samlMetadataUrl property value. The URL where the service exposes SAML metadata for federation. This property is valid only for single-tenant applications. Nullable.- Parameters:
value
- Value to set for the samlMetadataUrl property.
-
setServiceManagementReference
Sets the serviceManagementReference property value. References application or service contact information from a Service or Asset Management database. Nullable.- Parameters:
value
- Value to set for the serviceManagementReference property.
-
setServicePrincipalLockConfiguration
Sets the servicePrincipalLockConfiguration property value. Specifies whether sensitive properties of a multitenant application should be locked for editing after the application is provisioned in a tenant. Nullable. null by default.- Parameters:
value
- Value to set for the servicePrincipalLockConfiguration property.
-
setSignInAudience
Sets the signInAudience property value. Specifies the Microsoft accounts that are supported for the current application. The possible values are: AzureADMyOrg (default), AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount, and PersonalMicrosoftAccount. See more in the table. The value of this object also limits the number of permissions an app can request. For more information, see Limits on requested permissions per app. The value for this property has implications on other app object properties. As a result, if you change this property, you might need to change other properties first. For more information, see Validation differences for signInAudience.Supports $filter (eq, ne, not).- Parameters:
value
- Value to set for the signInAudience property.
-
setSpa
Sets the spa property value. Specifies settings for a single-page application, including sign out URLs and redirect URIs for authorization codes and access tokens.- Parameters:
value
- Value to set for the spa property.
-
setSynchronization
Sets the synchronization property value. Represents the capability for Microsoft Entra identity synchronization through the Microsoft Graph API.- Parameters:
value
- Value to set for the synchronization property.
-
setTags
Sets the tags property value. Custom strings that can be used to categorize and identify the application. Not nullable. Strings added here will also appear in the tags property of any associated service principals.Supports $filter (eq, not, ge, le, startsWith) and $search.- Parameters:
value
- Value to set for the tags property.
-
setTokenEncryptionKeyId
Sets the tokenEncryptionKeyId property value. Specifies the keyId of a public key from the keyCredentials collection. When configured, Microsoft Entra ID encrypts all the tokens it emits by using the key this property points to. The application code that receives the encrypted token must use the matching private key to decrypt the token before it can be used for the signed-in user.- Parameters:
value
- Value to set for the tokenEncryptionKeyId property.
-
setTokenIssuancePolicies
Sets the tokenIssuancePolicies property value. The tokenIssuancePolicies property- Parameters:
value
- Value to set for the tokenIssuancePolicies property.
-
setTokenLifetimePolicies
Sets the tokenLifetimePolicies property value. The tokenLifetimePolicies property- Parameters:
value
- Value to set for the tokenLifetimePolicies property.
-
setUniqueName
Sets the uniqueName property value. The unique identifier that can be assigned to an application and used as an alternate key. Immutable. Read-only.- Parameters:
value
- Value to set for the uniqueName property.
-
setVerifiedPublisher
Sets the verifiedPublisher property value. Specifies the verified publisher of the application. For more information about how publisher verification helps support application security, trustworthiness, and compliance, see Publisher verification.- Parameters:
value
- Value to set for the verifiedPublisher property.
-
setWeb
Sets the web property value. Specifies settings for a web application.- Parameters:
value
- Value to set for the web property.
-