MicrosoftGraphServicePrincipal Methods
ClassMethods1 member
Models the service principal created for an Entra application registration.
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.
public sealed class MicrosoftGraphServicePrincipal{ public static MicrosoftGraphExistingServicePrincipal FromExisting( string bicepIdentifier) { // ... }}Parameters
bicepIdentifier stringThe resource's identifier in the Bicep module.Returns
MicrosoftGraphExistingServicePrincipal A reference whose MicrosoftGraphExistingServicePrincipal.Name must be set to the application ID.