Office 365 Interview Questions and Answers – 5

0
40

This topics cover the Authentication and Authorization option in Microsoft 365.

What is a Basic Authentication and Modern Authentication client?

Basic Authentication Clients: Clients or applications that is not a browser-based client that access Office 365 services are Basic authentication clients. Outlook 2013 by default is a basic authentication client and few other clients like EWS clients and EAS clients are Basic authentication clients. 

Modern Authentication Clients (OAuth): Modern Authentication uses Active Directory Authentication Library (ADAL) based sign-in for Office clients. ADAL based sign-in supports features like MFA, certificate based authentication and smart card authentication. Outlook 2016 by default is a modern authentication office client, where Outlook 2013 requires an Office update and registry settings modified to act like a Modern Authentication client. 

When you try to access an Office 365 service, it will open a web browser and prompts to authenticate which will accept the credential as well as Multi factor authentication if enabled. Basic clients will not support this option and if MFA enabled, basic authentication supported clients cannot prompt the user for MFA authentication and those clients cannot access the service. 

What is Authentication and Authorization?

Authentication is the act of challenging the client for valid credential when you are accessing a resource. It is the process of proving who you are by providing your credential. AuthN

Authorization is the act of granting access to authenticated client to do something on the accessed resource. It defines what sort of data that you get access and what you can do with it. AuthZ

Azure AD is the Office 365 Identity service which takes care of Authentication and Authorization. Azure AD using Authentication protocol like OAuth 2.0 and OpenID connect.

What is OAuth 2.0 and what is the use of it?

OAuth 2.0 is an authentication protocol used by Azure AD and it provides 2 tokens (Access and Refresh tokens) to the client when it successfully authenticates against Azure Active Directory. Access token is a JSON Web Token (JWT), which is valid for 1 hour and a Refresh token valid for 14 days, if it is continuously accessed it will be valid for 90 days.

If we run the Hybrid configuration wizard on a Pure Exchange 2013 and above environment, it enables OAuth.

Explain the Authentication flow for Basic authentication client? Important

Basic Authentication Flow: User access Office 365 service like EXO using a basic client and it prompts the user to enter the credential -> EXO sends the credential to Azure AD using proxy authentication -> Azure AD authentication endpoint find the authentication provider as STS in On-Premise for these kinds of basic auth requests and notify EXO to reach STS and the request will be sent to ADFS Proxy by EXO (Exchange Online) -> ADFS Proxy server proxies the EXO authentication request to ADFS -> ADFS validates the credentials with AD and on successful authentication, AD will provide a logon token and user related information as claim to ADFS -> ADFS sends the information to EXO -> EXO send the logon token received from ADFS to Azure AD and it will authenticated in Azure AD and EXO will be provide an access token by Azure AD which will allow the user to access the service. 

Explain the Authentication flow for Modern authentication client? Important

Modern Authentication Flow: User access Office 365 service like EXO using a modern authentication client -> EXO redirects the client to authenticate with Azure AD -> Client will reach Azure AD and the it will prompt for user name and the Azure AD authentication end point deduct the UPN of the domain is federated and redirect the client to STS -> ADFS will ask the client to authenticate (If client is internal to network, it will take Windows Integrated Authentication to authenticate with AD) -> Once authentication successful in AD, it will send user claims to ADFS -> ADFS will send the SAML token along with user claims to Client -> Outlook sends the token to Azure AD and validates the token received from AD and the authentication will be successful -> On successful Authentication, Azure AD will provide an access token and refresh token to Client -> Client will send the access token to EXO and user will be allowed to access the service. 

What are the authentication options available for Office 365 / Azure AD?

Below are the authentication or Sign-In options available for Office 365 / Azure AD.

  • Federation Authentication
  • Password Hash Synchronization Authentication
  • Pass-through Authentication
  • Seamless SSO (enabled when choosing PHS or PTA)

This Content Is Only For Subscribers

Please subscribe to unlock this content. Enter your email to get access.
Your email address is 100% safe from spam!

LEAVE A REPLY

Please enter your comment!
Please enter your name here