MicrosoftGraphServicePrincipal Properties

ClassProperties9 members
Models the service principal created for an Entra application registration.
AccountEnabledSection titled AccountEnabledBicepValue<bool>
Gets or sets whether the service principal is enabled. When false, no user can sign in to the application.
public BicepValue<bool> AccountEnabled { get; set; }
AppIdSection titled AppIdBicepValue<string>
Gets or sets the associated application's client ID.
public BicepValue<string> AppId { get; set; }
AppRoleAssignmentRequiredSection titled AppRoleAssignmentRequiredBicepValue<bool>
Gets or sets whether users or other service principals need an app role assignment before they can sign in or get tokens.
public BicepValue<bool> AppRoleAssignmentRequired { get; set; }
DescriptionSection titled DescriptionBicepValue<string>
Gets or sets a description of the service principal, shown to end users in portals such as My Apps.
public BicepValue<string> Description { get; set; }
IdSection titled IdBicepValue<string>
Gets the service principal's directory object ID.
public BicepValue<string> Id { get; }
NotesSection titled NotesBicepValue<string>
Gets or sets notes for managing the service principal.
public BicepValue<string> Notes { get; set; }
NotificationEmailAddressesSection titled NotificationEmailAddressesBicepList<string>
Gets or sets the email addresses that receive notifications, such as certificate expiry.
public BicepList<string> NotificationEmailAddresses { get; set; }
OwnersSection titled OwnersBicepList<string>
Gets or sets the directory object IDs of the service principal's owners.
public BicepList<string> Owners { get; set; }
TagsSection titled TagsBicepList<string>
Gets or sets the custom strings used to categorize the service principal.
public BicepList<string> Tags { get; set; }
Add to this collection to preserve Aspire's WindowsAzureActiveDirectoryIntegratedApp tag, which makes the service principal visible in the Enterprise applications list.