You have an Azure AD tenant and a .NET web app named App1.
You need to register App1 for Azure AD authentication.
What should you configure for App1?
You have an Azure AD tenant and a .NET web app named App1.
You need to register App1 for Azure AD authentication.
What should you configure for App1?
To register a .NET web app named App1 for Azure AD authentication, you need to configure the redirect URI. This URI is the endpoint where Azure AD will send the authentication response after a user successfully authenticates. It is crucial for enabling the authentication flow between Azure AD and the web app. The other options, such as the executable name, bundle ID, and package name, are relevant for different platforms and are not applicable to web applications.
Settings for each application type, including redirect URIs, are configured in Platform configurations in the Azure portal. Some platforms, like Web and Single-page applications, require you to manually specify a redirect URI. For other platforms, like mobile and desktop, you can select from redirect URIs generated for you when you configure their other settings. A. Executable name is a program binary name, i.e. Cool Program.app/CoolProgram B. Bundle ID is for iOS / macOS platform. C. Package name is for Android platform. D. Redirect URI’s are used for Web applications, single-page applications and Mobile and desktop applications platforms. https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#add-a-redirect-uri https://learn.microsoft.com/en-us/entra/identity-platform/reply-url
The redirect URI is the endpoint where Azure AD will send the authentication response after a user successfully authenticates with Azure AD. It is an essential configuration for enabling the authentication flow between Azure AD and the .NET web app.
correct answer
The correct answer is D. the redirect URI. When registering a .NET web app named App1 for Azure AD authentication, you need to configure the redirect URI. This is the location where the authorization server sends the user once the app has been successfully authorized and granted an authorization code or access token. The redirect URI must match one of the URIs registered for the app in Azure AD. The other options (A. the executable name, B. the bundle ID, C. the package name) are typically used for native apps or mobile apps, not web apps.
Answer D: the redirect URI
Bundle ID Purpose: The Bundle ID is a unique identifier for an application, primarily used in iOS environments. It helps distinguish your app from others on the App Store. Usage: Essential for app distribution and identification within the Apple ecosystem. Format: Typically follows a reverse domain name notation, such as com.company.appname. Redirect URI Purpose: The Redirect URI (or reply URL) is used in OAuth 2.0 and other authentication protocols to specify where the authentication responses should be sent after a user signs in. Usage: Critical for web apps and APIs to handle authentication tokens securely. Format: For web apps, it is usually the URL of the web app or API. For mobile apps, it can be in the format msauth.<BUNDLE_ID>://auth for iOS or msauth://<PACKAGE_NAME>/<SIGNATURE_HASH> for Android