Tutorial: Require step-up authentication (authentication context) upon risky action
Microsoft Defender for Cloud Apps is now part of Microsoft 365 Defender and can be accessed through its portal at: https://security.microsoft.com. Microsoft 365 Defender correlates signals from the Microsoft Defender suite across endpoints, identities, email, and SaaS apps to provide incident-level detection, investigation, and powerful response capabilities. It improves your operational efficiency with better prioritization and shorter response times which protect your organization more effectively. For more information about these changes, see Microsoft Defender for Cloud Apps in Microsoft 365 Defender.
As an IT admin today, you're stuck between a rock and hard place. You want to enable your employees to be productive. That means allowing employees to access apps so they can work at any time, from any device. However, you want to protect the company's assets including proprietary and privileged information. How can you enable employees to access your cloud apps while protecting your data?
This tutorial allows you to reevaluate Azure AD Conditional Access policies when users take sensitive actions during a session.
An employee logged in to SharePoint Online from the corporate office. During the same session, their IP address registered outside of the corporate network. Maybe they went to the coffee shop downstairs, or maybe their token was compromised or stolen by a malicious attacker.
Protect your organization by requiring Azure AD Conditional Access policies to be reassessed during sensitive session actions the Defender for Cloud Apps Conditional Access App Control.
A valid license for Azure AD Premium P1 license
Configure a cloud app for SSO using one of the following authentication protocols:
IdP Protocols Azure AD SAML 2.0 or OpenID Connect
Make sure the app is deployed to Defender for Cloud Apps
Create a policy to enforce step-up authentication
Defender for Cloud Apps session policies allow you to restrict a session based on device state. To accomplish control of a session using its device as a condition, create both a conditional access policy and a session policy.
Step 1: Configure your IdP to work with Defender for Cloud Apps
Make sure you've configured your IdP solution to work with Defender for Cloud Apps, as follows:
For Azure AD Conditional Access, see Configure integration with Azure AD
For other IdP solutions, see Configure integration with other IdP solutions
After completing this task, go to the Defender for Cloud Apps portal and create a session policy to monitor and control file downloads in the session.
Step 2: Create a session policy
In the Microsoft 365 Defender portal, under Cloud Apps, go to Polices -> Policy management.
In the Policies page, select Create policy followed by Session policy.
In the Create session policy page, give your policy a name and description. For example, Require step-up authentication on downloads from SharePoint Online from unmanaged devices.
Assign a Policy severity and Category.
For the Session control type, select Block activities, Control file upload (with inspection), Control file download (with inspection).
Under Activity source in the Activities matching all the following section, select the filters:
Device tag: Select Does not equal, and then select Intune compliant, Hybrid Azure AD joined, or Valid client certificate. Your selection depends on the method used in your organization for identifying managed devices.
App: Select the app you want to control.
Users: Select the users you want to monitor.
Under Activity source in the Files matching all of the following section, set the following filters:
Sensitivity labels: If you use sensitivity labels from Microsoft Purview Information Protection, filter the files based on a specific Microsoft Purview Information Protection sensitivity label.
Select File name or File type to apply restrictions based on file name or type.
Enable Content inspection to enable the internal DLP to scan your files for sensitive content.
Under Actions, select Require step-up authentication.
This requires authentication context to be created in Azure AD.
Set the alerts you want to receive when the policy is matched. You can set a limit so that you don't receive too many alerts. Select if to get the alerts as an email message.
Validate your policy
To simulate this policy, sign in to the app from an unmanaged device or a non-corporate network location. Then, try to download a file.
You should be required to perform the action configured in the authentication context policy.
In the Microsoft 365 Defender portal, under Cloud Apps, go to Polices -> Policy management. Then select the policy you've created to view the policy report. A session policy match should appear shortly.
In the policy report, you can see which logins where redirected to Microsoft Defender for Cloud Apps for session control, and which files were downloaded or blocked from the monitored sessions.
How to create an access policy
How to create a session policy
If you run into any problems, we're here to help. To get assistance or support for your product issue, please open a support ticket.
Submit and view feedback for