EntraIdApi
Classsealednet10.0
Identifies an API that is not modeled as an Aspire resource, such as Microsoft Graph, by its well-known application ID.
namespace Aspire.Hosting.Azure;
public sealed class EntraIdApi{ // ...}6 members
Remarks
Section titled Remarks The well-known APIs know the IDs of their most common permissions, so permissions can be requested by name. Permissions that are not in that list can be requested by supplying the permission's ID with Entra or Entra. To look up an ID, read the oauth2 (delegated) or app (application) of the API's service principal in your tenant, for example with az ad sp show -.
Properties5
Section titled Propertiesstring Gets the API's application (client) ID, the same in every tenant for a first-party Microsoft API.
Gets Azure Resource Manager (
https://management.azure.com ), whose delegated permission is user_impersonation . Gets Azure Storage (
https://storage.azure.com ), whose delegated permission is user_impersonation . Methods1
Section titled Methods Identifies another API, whose service principal must exist in the tenant, by its application ID.