Udostępnij za pośrednictwem


ServicePrincipal Class

Definition

Active Directory service principal information.

public class ServicePrincipal : Microsoft.Azure.Graph.RBAC.Models.DirectoryObject
type ServicePrincipal = class
    inherit DirectoryObject
Public Class ServicePrincipal
Inherits DirectoryObject
Inheritance
ServicePrincipal

Constructors

ServicePrincipal()

Initializes a new instance of the ServicePrincipal class.

ServicePrincipal(IDictionary<String,Object>, String, Nullable<DateTime>, String, IList<String>, String, String, String, Nullable<Boolean>, IList<AppRole>, String, String, String, IList<KeyCredential>, String, IList<OAuth2Permission>, IList<PasswordCredential>, String, String, IList<String>, String, IList<String>, String, IList<String>)

Initializes a new instance of the ServicePrincipal class.

Properties

AccountEnabled

Gets or sets whether or not the service principal account is enabled

AdditionalProperties

Gets or sets unmatched properties from the message are deserialized this collection

(Inherited from DirectoryObject)
AlternativeNames

Gets or sets alternative names

AppDisplayName

Gets the display name exposed by the associated application.

AppId

Gets or sets the application ID.

AppOwnerTenantId
AppRoleAssignmentRequired

Gets or sets specifies whether an AppRoleAssignment to a user or group is required before Azure AD will issue a user or access token to the application.

AppRoles

Gets or sets the collection of application roles that an application may declare. These roles can be assigned to users, groups or service principals.

DeletionTimestamp

Gets the time at which the directory object was deleted.

(Inherited from DirectoryObject)
DisplayName

Gets or sets the display name of the service principal.

ErrorUrl

Gets or sets a URL provided by the author of the associated application to report errors when using the application.

Homepage

Gets or sets the URL to the homepage of the associated application.

KeyCredentials

Gets or sets the collection of key credentials associated with the service principal.

LogoutUrl

Gets or sets a URL provided by the author of the associated application to logout

Oauth2Permissions

Gets the OAuth 2.0 permissions exposed by the associated application.

ObjectId

Gets the object ID.

(Inherited from DirectoryObject)
PasswordCredentials

Gets or sets the collection of password credentials associated with the service principal.

PreferredTokenSigningKeyThumbprint

Gets or sets the thumbprint of preferred certificate to sign the token

PublisherName

Gets or sets the publisher's name of the associated application

ReplyUrls

Gets or sets 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.

SamlMetadataUrl

Gets or sets the URL to the SAML metadata of the associated application

ServicePrincipalNames

Gets or sets a collection of service principal names.

ServicePrincipalType

Gets or sets the type of the service principal

Tags

Gets or sets optional list of tags that you can apply to your service principals. Not nullable.

Applies to