MicrosoftGraphExistingServicePrincipal
Classsealednet10.0
References a service principal that already exists in the tenant, addressed by its application (client) ID.
namespace Aspire.Hosting.Azure.EntraId.Provisioning;
public sealed class MicrosoftGraphExistingServicePrincipal : Azure.Provisioning.Primitives.ProvisionableResource{ // ...}ProvisionableResource
Remarks
Section titled Remarks Azure.Provisioning leaves only the property named
Name settable on an existing resource, and it uses that property to address the resource, so the application ID is exposed as MicrosoftGraphExistingServicePrincipal.Name . Constructors1
Section titled ConstructorsCreates a reference to an existing service principal.
Properties2
Section titled PropertiesNameget; setBicepValue<string> Gets or sets the application (client) ID that addresses the service principal.