Skip to content
Basic Authentication Microsoft 365 Apps for Enterprise | Office 365 | Azure AD

Basic Authentication Microsoft 365 Apps for Enterprise | Office 365 | Azure AD

In this article, I will explain how to identify users using Basic Authentication Microsoft 365 apps in your organization. What is Basic Authentication and why do we need to disable basic authentication? More details about Azure AD authentication is explained in the post.

Identify Clients Using Basic Authentication ( O365 )

Basic Authentication based on where credentials are the base64 encoding of id and password joined by a single colon: is similar like a username and password is provided every time for a request made by the client, that means the client will pass the user name and password with every request which makes easier for attackers to get the user’s credential and it is pron to Password spray attack because it uses a simple HTTP login method to get authenticated.

This is how the login looks like, very familiar right?

Basic Authentication Microsoft 365 Apps for Enterprise
Basic Authentication Microsoft 365 Apps for Enterprise

How to Identify users using Basic Authentication Against Microsoft 365 services! yes, this is something interesting to check who and all are connecting to Microsoft 365 resource using basic authentication.

How to Identify Application using Basic authentication using Azure Sign Logs

Let’s use Azure ad sign Logs, what azure sign logs yes you heard it correct, you can use Azure ad sign-in Report to understand basic auth usage in your tenant. Let me explain this is steps.

Step 1: Sign in to the Azure AD portal, you can use the new portal https://aad.portal.azure.com, scroll down and you can see Sign-ins under Monitor

Basic Authentication Microsoft 365 Apps for Enterprise
Basic Authentication Microsoft 365 Apps for Enterprise

Step 2: In the sign-in page, you can see Add filters option on the right page > Client app

Basic Authentication Microsoft 365 Apps for Enterprise
Basic Authentication Microsoft 365 Apps for Enterprise

Step 3: Once the Client app is selected it will show none selected > tap on that this will provide a drop-down with the list of client apps and segregated as Modern Authentication Clients and Legacy authentication Clients. Select all the applications under legacy authentication clients.

Basic Authentication Microsoft 365 Apps for Enterprise
Basic Authentication Microsoft 365 Apps for Enterprise
Basic Authentication Microsoft 365 Apps for Enterprise
Basic Authentication Microsoft 365 Apps for Enterprise
Basic Authentication Microsoft 365 Apps for Enterprise
Basic Authentication Microsoft 365 Apps for Enterprise

You can select on one of the records to see which Client app is being user in my example Mapi Over HTTP

Basic Authentication Microsoft 365 Apps for Enterprise
Basic Authentication Microsoft 365 Apps for Enterprise

You can see all the Client apps using basic authentication > Tap on Download to so you will get the report handy. You should make sure you had selected the client app in the columns to display the app details in the report.

Basic Authentication Microsoft 365 Apps for Enterprise | Office 365 | Azure AD 1
Basic Authentication Microsoft 365 Apps for Enterprise | Office 365 | Azure AD 12
Basic Authentication Microsoft 365 Apps for Enterprise
Basic Authentication Microsoft 365 Apps for Enterprise

Download Azure Signing Logs to Excel in JSON or CSV format

To download the sign-ins to JSON or CSV format, click on the Download button at the top of the Sign-ins page. If you filter the sign-ins by certain client apps, your download will be based on the filter selections you’ve made.

We recommend downloading to JSON because this format includes all the sign-in details, including user agent. The CSV format will only show the top-level information in each row of the sign-in logs.

Basic Authentication Microsoft 365 Apps for Enterprise
Basic Authentication Microsoft 365 Apps for Enterprise
Basic Authentication Microsoft 365 Apps for Enterprise | Office 365 | Azure AD 2
Basic Authentication Microsoft 365 Apps for Enterprise | Office 365 | Azure AD 13

Using the Microsoft Graph API to get sign-ins

If you need to download more than 250,000 sign-in records, you can do so using the audit logs API in Microsoft Graph. you can use the below queries to collect the logs from Microsoft Graph.

Resources

Anand P
Written by

I am working as Infrastructure Engineer specifically on MS technologies like O365 ( EXO, EOP), Intune, Azure AD, Windows10 and Hybrid Infrastructure

Discussion

Join the discussion

Your email address will not be published. Required fields are marked *

Related guides

Azure

How to Set up Azure Virtual Desktop Quickstart for Fast and Easy Deployment

Let’s discuss how to Set Up Azure Virtual Desktop Quickstart for Fast and Easy Deployment. Microsoft introduced a new feature called, Azure Virtual Desktop QuickStart which is generally available for you. With these capabilities, you can explore the capabilities of Azure Virtual Desktop with a streamlined setup process. The Azure Virtual Desktop QuickStart helps you […]

AC Anoop C Nair 4 min read
Azure

Fix to AVD Host Pools No Longer Support Desktop and Remote Apps Simultaneously

Let’s discuss Fix to AVD Host Pools No Longer Support Desktop and Remote Apps Simultaneously. AVD host pool is an Azure virtual machine collection that registers to Azure Virtual Desktop as session hosts when you run the Azure Virtual Desktop agent. Microsoft recently announced that they have started to enforce the Preferred App Group Type […]

GS Gopika snair 3 min read
SCCM

Azure SCOM MI Supports SCCM Management Packs

Let’s discuss Azure SCOM MI Support for SCCM Management Packs. SCOM MI (System Center Operations Manager Managed Instance) is the System Center Operations Manager functionality in Azure. Now, it supports SCCM Management Packs. Azure Monitor SCOM managed instance is a cloud-based service that provides the same functionality as SCOM on-premises. SCOM MI can be used […]

GS Gopika snair 3 min read