Manage Conditional Access in Microsoft 365

2 minute read

Manage Conditional Access in Microsoft 365

Overview

Having access to everyone for every app in Microsoft 365 might not be a good idea. Access to each of the apps and services across Microsoft 365 should be restricted in a controlled way. Microsoft Azure’s Conditional Access is helpful in these scenarios.

In this article, we will explore the importance of conditional access and how to use it in Microsoft 365 to control access to the apps.

Why restrict access?

We have to think over whether it is nice to have access to all apps to everyone in the organization, even though an app is not relevant or not being used by them. Restricting access might be helpful in the below scenarios:

  1. Limit the licensed use of the app.
  2. Roll out of the service in the organization and be available to pilot users.
  3. Better assignment of licenses via groups instead of to an individual at random.
  4. Help secure the app and organization.

What is Conditional Access?

Conditional access is like an if-then statement. If a user needs access to the resource, then they must complete the action.

Apply Conditional Access to Microsoft 365 Apps

Azure AD Security Group

Consider planning for the Azure AD security group to have access to the app.

Conditional Access Policy

Create a new conditional access policy by following below steps:

  1. Open MS Azure portal.
  2. Search for Azure AD Conditional Access.
  3. Click New Policy > Create new policy.
  4. Specify the name as SPO Access Policy.
  5. Under Assignments > Users or workload identities , choose to exclude our AAD security group.

  1. For Cloud apps or actions, choose the apps to include in the policy. E.g. Office 365 SharePoint Online.

  1. Under Conditions, choose to include apps as shown below.

  1. Under Access Controls > Grant, choose Block Access.

  1. Enable the policy.
  2. Click Save.

The policy can be read as "Block access to everyone except AAD security group named SPO Access on SharePoint Online".

Test the Policy

Members of the AAD security group named SPO Access should be able to browse the SharePoint sites. However, non-members should get the below error.

Debug the access issue

When any of the users are facing an access issue because of the conditional access policy, follow the below steps to find out the root cause:

  1. Open Azure AD.
  2. Browse to Users section.
  3. Search and select the user, facing an access issue.
  4. Under Activity, click Sign-in logs.
  5. Locate the one that resulted in a failure.

Summary

Access to each of the apps and services across Microsoft 365 should be restricted in a controlled way. Microsoft Azure’s Conditional Access is helpful in these scenarios.

References

Leave a comment