MicrosoftGraphServicePrincipal
Classsealednet10.0
Models the service principal created for an Entra application registration.
namespace Aspire.Hosting.Azure.EntraId.Provisioning;
public sealed class MicrosoftGraphServicePrincipal : Azure.Provisioning.Primitives.ProvisionableResource{ // ...}ProvisionableResource
11 members
Remarks
Section titled RemarksConstructors1
Section titled Constructors Models the service principal created for an Entra application registration.
Properties9
Section titled PropertiesAccountEnabled get; setBicepValue<bool> Gets or sets whether the service principal is enabled. When
false, no user can sign in to the application.AppRoleAssignmentRequired get; setBicepValue<bool> Gets or sets whether users or other service principals need an app role assignment before they can sign in or get tokens.
Descriptionget; setBicepValue<string> Gets or sets a description of the service principal, shown to end users in portals such as My Apps.
NotificationEmailAddresses get; setBicepList<string> Gets or sets the email addresses that receive notifications, such as certificate expiry.
Ownersget; setBicepList<string> Gets or sets the directory object IDs of the service principal's owners.
Tagsget; setBicepList<string> Gets or sets the custom strings used to categorize the service principal.
Methods1
Section titled MethodsFromExisting(string) static Creates a reference to a service principal that already exists in the tenant, such as the one for Microsoft Graph, addressed by its application (client) ID.