ServicePrincipal Class
Active Directory service principal information.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
ServicePrincipal
Constructor
ServicePrincipal(*, additional_properties=None, account_enabled: Optional[bool] = None, alternative_names=None, app_id: Optional[str] = None, app_role_assignment_required: Optional[bool] = None, app_roles=None, display_name: Optional[str] = None, error_url: Optional[str] = None, homepage: Optional[str] = None, key_credentials=None, logout_url: Optional[str] = None, password_credentials=None, preferred_token_signing_key_thumbprint: Optional[str] = None, publisher_name: Optional[str] = None, reply_urls=None, saml_metadata_url: Optional[str] = None, service_principal_names=None, service_principal_type: Optional[str] = None, tags=None, **kwargs)
Parameters
Unmatched properties from the message are deserialized this collection
- app_role_assignment_required
- bool
Specifies whether an AppRoleAssignment to a user or group is required before Azure AD will issue a user or access token to the application.
The collection of application roles that an application may declare. These roles can be assigned to users, groups or service principals.
- error_url
- str
A URL provided by the author of the associated application to report errors when using the application.
- key_credentials
- list[KeyCredential]
The collection of key credentials associated with the service principal.
- password_credentials
- list[PasswordCredential]
The collection of password credentials associated with the service principal.
- preferred_token_signing_key_thumbprint
- str
The thumbprint of preferred certificate to sign the token
The URLs that user tokens are sent to for sign in with the associated application. The redirect URIs that the oAuth 2.0 authorization code and access tokens are sent to for the associated application.
Optional list of tags that you can apply to your service principals. Not nullable.
Variables
- object_id
- str
The object ID.
- deletion_timestamp
- datetime
The time at which the directory object was deleted.
- app_display_name
- str
The display name exposed by the associated application.
- app_owner_tenant_id
- str
- oauth2_permissions
- list[OAuth2Permission]
The OAuth 2.0 permissions exposed by the associated application.
Feedback
Submit and view feedback for