Class 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
  • Constructor Details

    • Application

      public Application()
      Instantiates a new Application 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

      @Nullable public List<AddIn> 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.
      Returns:
      a List<AddIn>
    • getApi

      @Nullable public ApiApplication getApi()
      Gets the api property value. Specifies settings for an application that implements a web API.
      Returns:
      a ApiApplication
    • getAppId

      @Nullable public String 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

      @Nullable public 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

      @Nullable public List<AppManagementPolicy> getAppManagementPolicies()
      Gets the appManagementPolicies property value. The appManagementPolicy applied to this application.
      Returns:
      a List<AppManagementPolicy>
    • getAppRoles

      @Nullable public List<AppRole> 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.
      Returns:
      a List<AppRole>
    • getAuthenticationBehaviors

      @Nullable public AuthenticationBehaviors getAuthenticationBehaviors()
      Gets the authenticationBehaviors property value. The authenticationBehaviors property
      Returns:
      a AuthenticationBehaviors
    • getCertification

      @Nullable public Certification getCertification()
      Gets the certification property value. Specifies the certification status of the application.
      Returns:
      a Certification
    • getCreatedDateTime

      @Nullable public OffsetDateTime 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

      @Nullable public DirectoryObject getCreatedOnBehalfOf()
      Gets the createdOnBehalfOf property value. Supports $filter (/$count eq 0, /$count ne 0). Read-only.
      Returns:
      a DirectoryObject
    • getDefaultRedirectUri

      @Nullable public String getDefaultRedirectUri()
      Gets the defaultRedirectUri property value. The defaultRedirectUri property
      Returns:
      a String
    • getDescription

      @Nullable public 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

      @Nullable public 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

      @Nullable public 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

      @Nullable public List<ExtensionProperty> getExtensionProperties()
      Gets the extensionProperties property value. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0).
      Returns:
      a List<ExtensionProperty>
    • getFederatedIdentityCredentials

      @Nullable public List<FederatedIdentityCredential> 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class DirectoryObject
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getGroupMembershipClaims

      @Nullable public String 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

      @Nullable public List<HomeRealmDiscoveryPolicy> getHomeRealmDiscoveryPolicies()
      Gets the homeRealmDiscoveryPolicies property value. The homeRealmDiscoveryPolicies property
      Returns:
      a List<HomeRealmDiscoveryPolicy>
    • getIdentifierUris

      @Nullable public List<String> 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).
      Returns:
      a List<String>
    • getInfo

      @Nullable public InformationalUrl 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

      @Nullable public Boolean getIsDeviceOnlyAuthSupported()
      Gets the isDeviceOnlyAuthSupported property value. Specifies whether this application supports device authentication without a user. The default is false.
      Returns:
      a Boolean
    • getIsFallbackPublicClient

      @Nullable public 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

      @Nullable public List<KeyCredential> 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

      @Nullable public EnumSet<NativeAuthenticationApisEnabled> 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

      @Nullable public String getNotes()
      Gets the notes property value. Notes relevant for the management of the application.
      Returns:
      a String
    • getOauth2RequirePostResponse

      @Nullable public Boolean getOauth2RequirePostResponse()
      Gets the oauth2RequirePostResponse property value. The oauth2RequirePostResponse property
      Returns:
      a Boolean
    • getOptionalClaims

      @Nullable public OptionalClaims 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

      @Nullable public List<DirectoryObject> 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

      @Nullable public ParentalControlSettings getParentalControlSettings()
      Gets the parentalControlSettings property value. Specifies parental control settings for an application.
      Returns:
      a ParentalControlSettings
    • getPasswordCredentials

      @Nullable public List<PasswordCredential> getPasswordCredentials()
      Gets the passwordCredentials property value. The collection of password credentials associated with the application. Not nullable.
      Returns:
      a List<PasswordCredential>
    • getPublicClient

      @Nullable public PublicClientApplication getPublicClient()
      Gets the publicClient property value. Specifies settings for installed clients such as desktop or mobile devices.
      Returns:
      a PublicClientApplication
    • getPublisherDomain

      @Nullable public String 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

      @Nullable public RequestSignatureVerification getRequestSignatureVerification()
      Gets the requestSignatureVerification property value. Specifies whether this application requires Microsoft Entra ID to verify the signed authentication requests.
      Returns:
      a RequestSignatureVerification
    • getRequiredResourceAccess

      @Nullable public List<RequiredResourceAccess> 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

      @Nullable public String 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

      @Nullable public 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

      @Nullable public ServicePrincipalLockConfiguration 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

      @Nullable public String 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

      @Nullable public SpaApplication 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

      @Nullable public Synchronization getSynchronization()
      Gets the synchronization property value. Represents the capability for Microsoft Entra identity synchronization through the Microsoft Graph API.
      Returns:
      a Synchronization
    • getTags

      @Nullable public List<String> 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.
      Returns:
      a List<String>
    • getTokenEncryptionKeyId

      @Nullable public UUID 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

      @Nullable public List<TokenIssuancePolicy> getTokenIssuancePolicies()
      Gets the tokenIssuancePolicies property value. The tokenIssuancePolicies property
      Returns:
      a List<TokenIssuancePolicy>
    • getTokenLifetimePolicies

      @Nullable public List<TokenLifetimePolicy> getTokenLifetimePolicies()
      Gets the tokenLifetimePolicies property value. The tokenLifetimePolicies property
      Returns:
      a List<TokenLifetimePolicy>
    • getUniqueName

      @Nullable public String 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

      @Nullable public VerifiedPublisher 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

      @Nullable public WebApplication 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class DirectoryObject
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAddIns

      public void setAddIns(@Nullable List<AddIn> value)
      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

      public void setApi(@Nullable ApiApplication value)
      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

      public void setAppId(@Nullable String value)
      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

      public void setApplicationTemplateId(@Nullable String value)
      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

      public void setAppManagementPolicies(@Nullable List<AppManagementPolicy> value)
      Sets the appManagementPolicies property value. The appManagementPolicy applied to this application.
      Parameters:
      value - Value to set for the appManagementPolicies property.
    • setAppRoles

      public void setAppRoles(@Nullable List<AppRole> value)
      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

      public void setAuthenticationBehaviors(@Nullable AuthenticationBehaviors value)
      Sets the authenticationBehaviors property value. The authenticationBehaviors property
      Parameters:
      value - Value to set for the authenticationBehaviors property.
    • setCertification

      public void setCertification(@Nullable Certification value)
      Sets the certification property value. Specifies the certification status of the application.
      Parameters:
      value - Value to set for the certification property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      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

      public void setCreatedOnBehalfOf(@Nullable DirectoryObject value)
      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

      public void setDefaultRedirectUri(@Nullable String value)
      Sets the defaultRedirectUri property value. The defaultRedirectUri property
      Parameters:
      value - Value to set for the defaultRedirectUri property.
    • setDescription

      public void setDescription(@Nullable String value)
      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

      public void setDisabledByMicrosoftStatus(@Nullable String value)
      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

      public void setDisplayName(@Nullable String value)
      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

      public void setExtensionProperties(@Nullable List<ExtensionProperty> value)
      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

      public void setFederatedIdentityCredentials(@Nullable List<FederatedIdentityCredential> value)
      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

      public void setGroupMembershipClaims(@Nullable String value)
      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

      public void setHomeRealmDiscoveryPolicies(@Nullable List<HomeRealmDiscoveryPolicy> value)
      Sets the homeRealmDiscoveryPolicies property value. The homeRealmDiscoveryPolicies property
      Parameters:
      value - Value to set for the homeRealmDiscoveryPolicies property.
    • setIdentifierUris

      public void setIdentifierUris(@Nullable List<String> value)
      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

      public void setInfo(@Nullable InformationalUrl value)
      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

      public void setIsDeviceOnlyAuthSupported(@Nullable Boolean value)
      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

      public void setIsFallbackPublicClient(@Nullable Boolean value)
      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

      public void setKeyCredentials(@Nullable List<KeyCredential> value)
      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

      public void setNotes(@Nullable String value)
      Sets the notes property value. Notes relevant for the management of the application.
      Parameters:
      value - Value to set for the notes property.
    • setOauth2RequirePostResponse

      public void setOauth2RequirePostResponse(@Nullable Boolean value)
      Sets the oauth2RequirePostResponse property value. The oauth2RequirePostResponse property
      Parameters:
      value - Value to set for the oauth2RequirePostResponse property.
    • setOptionalClaims

      public void setOptionalClaims(@Nullable OptionalClaims value)
      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

      public void setOwners(@Nullable List<DirectoryObject> value)
      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

      public void setParentalControlSettings(@Nullable ParentalControlSettings value)
      Sets the parentalControlSettings property value. Specifies parental control settings for an application.
      Parameters:
      value - Value to set for the parentalControlSettings property.
    • setPasswordCredentials

      public void setPasswordCredentials(@Nullable List<PasswordCredential> value)
      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

      public void setPublicClient(@Nullable PublicClientApplication value)
      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

      public void setPublisherDomain(@Nullable String value)
      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

      public void setRequestSignatureVerification(@Nullable RequestSignatureVerification value)
      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

      public void setRequiredResourceAccess(@Nullable List<RequiredResourceAccess> value)
      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

      public void setSamlMetadataUrl(@Nullable String value)
      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

      public void setServiceManagementReference(@Nullable String value)
      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

      public void setServicePrincipalLockConfiguration(@Nullable ServicePrincipalLockConfiguration value)
      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

      public void setSignInAudience(@Nullable String value)
      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

      public void setSpa(@Nullable SpaApplication value)
      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

      public void setSynchronization(@Nullable Synchronization value)
      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

      public void setTags(@Nullable List<String> value)
      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

      public void setTokenEncryptionKeyId(@Nullable UUID value)
      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

      public void setTokenIssuancePolicies(@Nullable List<TokenIssuancePolicy> value)
      Sets the tokenIssuancePolicies property value. The tokenIssuancePolicies property
      Parameters:
      value - Value to set for the tokenIssuancePolicies property.
    • setTokenLifetimePolicies

      public void setTokenLifetimePolicies(@Nullable List<TokenLifetimePolicy> value)
      Sets the tokenLifetimePolicies property value. The tokenLifetimePolicies property
      Parameters:
      value - Value to set for the tokenLifetimePolicies property.
    • setUniqueName

      public void setUniqueName(@Nullable String value)
      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

      public void setVerifiedPublisher(@Nullable VerifiedPublisher value)
      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

      public void setWeb(@Nullable WebApplication value)
      Sets the web property value. Specifies settings for a web application.
      Parameters:
      value - Value to set for the web property.