Home › Studies › SC-300 › Workload Identities › App Registrations

App Registrations

Planning · registering · redirect URIs and credentials · API permissions · app roles

By the tools4free.dev team · Last reviewed November 13, 2026

Practice questions for this topic →

Plan and register an app

Supported account typessignInAudience (manifest)Use
Single tenant onlyAzureADMyOrgUsers and guests of your tenant. Recommended for most apps.
Multiple Entra ID tenantsAzureADMultipleOrgsMultitenant apps, for example SaaS.
Any Entra ID tenant + personal Microsoft accountsAzureADandPersonalMicrosoftAccountMultitenant plus Xbox, Live, Hotmail accounts.
Personal accounts onlyPersonalMicrosoftAccountPersonal Microsoft accounts only.

Choose a managed identity instead of an app registration when the service runs in Azure, doesn't sign in users, isn't a web API (doesn't act as the resource in a token flow) and doesn't operate in multiple tenants.

Application object vs service principal

Application objectService principal
ScopeGlobal representation, lives in the home tenantLocal representation in one tenant
Where you manage itApp registrationsEnterprise applications
RelationshipOne-to-one with the software, one-to-many with service principalsCreated in each tenant where the app is used

Restrict an app to chosen users: set Assignment required? to Yes on the enterprise app. User consent is then not allowed, so grant tenant-wide admin consent. The requirement doesn't apply to a Global Administrator.

App authentication: redirect URIs and credentials

App typePlatform to add the redirect URI to
Traditional server-side web appWeb
Single-page app (React, Angular, Vue)Single-page application (SPA)
Native mobile or desktop appMobile and desktop applications
Android / iOS or macOSAndroid / IOS/macOS
CredentialPortal pathGuidance
CertificateCertificates & secrets > Certificates > Upload certificate (.cer, .pem, .crt)Recommended over a secret before production. Record the thumbprint.
Client secretCertificates & secrets > Client secrets > New client secretLifetime 24 months or less. Microsoft recommends under 12 months. The value is never shown again. Less secure than certificates or federated credentials; should not be used in production.
Federated credentialCertificates & secrets > Federated credentials > Add credentialLets GitHub Actions, Kubernetes or other external workloads get tokens without managing secrets.

A public or installed client (mobile or desktop app) must have no credentials on the application object.

API permissions

Delegated permissionsApplication permissions
ContextOn behalf of a signed-in userNo user, the app acts as itself (daemon, background service)
Also calledScopesApp roles, app-only permissions
Who can consentUsers for their own data, admins for all usersOnly an admin
ReachNever more than the signed-in user could accessAll data the permission covers, for example every file in the tenant

A blue verified badge on the consent prompt shows a verified publisher. Verification needs a verified Microsoft AI Cloud Partner Program account, an app registered by using a Microsoft Entra work or school account, and an Application Administrator or Cloud Application Administrator. No license is needed.

App roles

App rolesGroups
Defined inThe app registration, move with the appThe tenant, not app-specific
Claimrolesgroups
If the app is removedRoles are removedGroups remain

CLI and PowerShell

TaskAzure CLIPowerShell
List service principals for an appaz ad sp list --filter "appId eq '{AppId}'"Get-MgServicePrincipal -Filter "appId eq '{AppId}'"

Exam Tips

Tick each tip once you can answer it without looking.

“Who can create an app registration in the admin center (minimum role in the quickstart)” → Application Developer.. Trap: Listing a higher role as the minimum isn't what the quickstart states.

“Global template for the app vs per-tenant instance” → Application object (App registrations) is global; service principal (Enterprise applications) is local to a tenant.. Trap: Don't confuse the two blades.

“Registered an app with Microsoft Graph APIs and it doesn't appear in Enterprise apps” → Create the service principal as a separate step.. Trap: The portal creates it for you, Graph doesn't.

“Delete the application object, then restore it” → The home-tenant service principal is deleted too and is not restored.. Trap: Restoring the app doesn't bring the service principal back.

“Suspend an app temporarily and keep its objects” → Deactivate the application.. Trap: Deleting removes the application object and the service principal.

“Azure service, no user sign-in, not a web API, single tenant” → A managed identity can be used instead of an app registration.. Trap: Any one of those conditions failing (for example multitenant) rules out the managed identity advice.

“Error AADSTS50011” → Redirect URI in the request doesn't match a redirect URI on the app registration.. Trap: It's not a consent or credential error.

“Where to add a redirect URI” → The application object, never the service principal.. Trap: Values on a service principal can be removed when it syncs with the application object.

“React single-page app redirect URI platform” → Single-page application (SPA).. Trap: Web is for traditional server-side apps; Mobile and desktop is for native apps.

“Smart TV or printer app without a keyboard” → Device code flow, no redirect URI needed.. Trap: Authorization code flow needs a redirect URI.

“Credential for a confidential app moving to production” → Certificate (or federated credential or managed identity), not a client secret.. Trap: Client secrets are less secure than certificates or federated credentials and should not be used in production.

“Maximum client secret lifetime” → 24 months, with under 12 months recommended.. Trap: You can't pick a custom lifetime longer than 24 months. The secret value is shown only once.

“GitHub Actions deploys to Azure with no stored secret” → Add a federated credential to the app registration.. Trap: A client secret would need rotation and storage.

“Daemon service calls an API without a user” → Application permission (app role) plus admin consent.. Trap: Delegated permissions need a signed-in user.

“Grant admin consent button is disabled” → You aren't an admin, or no permissions are configured.. Trap: Look at your role and the configured permissions list, not at the app's credentials.

“Role disabled in the app registration, user still has the claim” → Existing assignments remain and still flow into tokens. Remove the assignment.. Trap: Disabling doesn't revoke existing assignments.

“Limit shared between app roles and delegated scopes” → 700 permission definitions per application or service principal.. Trap: Disabled roles still count.

Sources

Checked against Microsoft Learn on November 13, 2026.

← Enterprise Apps, Consent & App ProxyDefender for Cloud Apps →