Purpose

Specifies the client secret for your Microsoft Entra ID (Azure Active Directory) application. This property is used when authenticating the service principal user with Entra ID (AuthenticationMethod=ActiveDirectoryServicePrincipal). The value of this property is the same as the ClientSecret in the Entra ID interface.

Valid values

string

where:

string
is the client secret used for service principal authentication with Entra ID.

Notes

  • To retrieve the access token used for authentication, both the principal ID (ActiveDirectoryPrincipalID) and client secret (ActiveDirectoryPrincipalSecret) must be specified.

Data source method

public String getActiveDirectoryPrincipalSecret()

public void setActiveDirectoryPrincipalSecret(String)

Default

Empty string

Data type

String

See also