publishWithAppRoleAssignment
Method
interface EntraIdApplicationResource { // ... omitted for brevity publishWithAppRoleAssignment( identity: AzureUserAssignedIdentityResource | IComputeResource, roleValues: string[]): EntraIdApplicationResource;}Signature
method
publishWithAppRoleAssignment builderPublishes explicit application-role assignments to a managed identity or a compute resource's managed identity.
publishWithAppRoleAssignment( identity: AzureUserAssignedIdentityResource | IComputeResource, roleValues: string[]): EntraIdApplicationResourceParameters
identityAzureUserAssignedIdentityResource | IComputeResource The user-assigned identity or compute resource receiving the roles.roleValues string[]Enabled role values declared on this API that allow Application members.Returns
EntraIdApplicationResource Applies to
This method applies to the following types: