Connect an Office 365 instance to SSPM to detect posture risks.
| Where Can I Use This? | What Do I Need? |
|
|
- SaaS Security Posture Management license
Or any of the following licenses that include the Data Security license:
|
For SSPM to detect posture risks in your Office 365 instance, you must onboard your
Office 365 instance to SSPM. Through the onboarding process, SSPM connects to a
Microsoft API and, through the API, scans your Office 365 instance at regular
intervals. You can onboard an Office 365 app by using OAuth 2.0 authorization or by
using a Microsoft Entra (formerly Azure) service principal, which represents a
Microsoft Entra application that you create.
If you onboard Office 365 by using OAuth 2.0, SSPM redirects you to log in to Office
365 to grant SSPM access to the API scopes that it requires. You have the option to
connect with read-only permissions or with read and write permissions. The account
that you use to connect SSPM to your Office 365 instance must be assigned to the
Global Administrator role.
To onboard Office 365 by using a Microsoft Entra service principal, you create a
Microsoft Entra application. When you register this application, Microsoft Entra
creates the associated service principle that SSPM will use to connect to the API.
You can connect SSPM to your Office 365 instance with read-only permissions or with
read and write permissions. The administrator who creates the service principal
must be able to grant access to the API scopes required by SSPM. These scopes will
differ depending on whether you want to grant SSPM read and write permissions, or if
you want to grant SSPM read permissions only. In SSPM, the Office 365 onboarding
screen lists the scopes that SSPM requires.
Onboard an Office 365 App to SSPM Using OAuth 2.0
Connect an Office 365 instance to SSPM to detect posture risks.
For SSPM to detect posture risks in your Office 365 instance, you must onboard your
Office 365 instance to SSPM. Through the onboarding process, SSPM connects to a
Microsoft API and, through the API, scans your Office 365 instance at regular
intervals for misconfigured settings. If there are misconfigured settings, SSPM
suggests a remediation action based on best practices.
Connecting to Office 365 enables SSPM to scan settings at a high level based on
Microsoft's Secure Score. For greater visibility into a particular application
in the Office 365 product family, onboard the individual product app. By adding
an individual product app, you enable SSPM to scan more settings for the
particular product. To scan more settings for Microsoft Word, Microsoft
PowerPoint, and Microsoft Excel, onboard Office 365 - Productivity Apps. Other
products in the Office 365 product family have their own tiles on the
Applications page, and you can onboard these apps separately.
SSPM gets access to your Office 365 instance through OAuth 2.0 authorization. During
the onboarding process, you are prompted to log in to Office 365 and to grant SSPM
the access it requires.
To onboard your Office 365 instance, you complete the following actions:
Identify the account for granting SSPM access.
During the onboarding process, SSPM redirects you to log in to Office 365.
After you log in, Office 365 will prompt you to grant SSPM the access it needs
to your Office 365 instance.
Identify the Office 365 account that you will use to log in to Office
365 during onboarding.
SSPM will use this account to establish a connection to your Office
365 instance. After SSPM establishes the connection, it will perform
an initial configuration scan of your Office 365 instance, and will
then run scans at regular intervals.
When you onboard Office 365, SSPM gives you an option to connect with
read-only permissions or with read and write permissions. The
onboarding screen lists the API scopes that SSPM requires for each
type of scan that it can run. The onboarding screen also lists the
API scopes that SSPM requires to perform certain actions on your
behalf. For example, if SSPM is granted permission to certain
scopes, you can revoke a user's access to a third-party plugin
through SSPM. After establishing a connection, SSPM will notify you
if it is unable to run certain scans, or complete certain actions,
because the account did not have the permissions to grant access to
certain scopes.
Onboarding Office 365 with read-only permissions will enable SSPM to
perform configuration scans, risky account scans, and third-party
plugin scans.
Connecting with read and write permissions enables additional SSPM
features, including the following features:
- The ability to revoke a user's access to a third-party
plugin.
- The ability to force a user out of their current SaaS
application sessions from the Identity Security dashboard.
- The ability to revoke a meeting bot's access to calendar
applications from the Meetings dashboard.
Required Permissions: To grant SSPM access to either the
read-only scopes only or access to read and write scopes, the
account must be assigned to the Global Administrator role.
Log out of all Microsoft accounts.
Logging out of all Microsoft accounts helps ensure that you log in
under the correct account during the onboarding process. Some
browsers can automatically log you in by using saved credentials. To
ensure that the browser does not automatically log you in to the
wrong account, you can turn off any automatic log-in option or clear
your saved credentials. Alternatively, you can prevent the browser
from using saved credentials by opening the Cloud Management Console
in an incognito window.
Connect SSPM to your Office 365 instance.
By adding an Office 365 app in SSPM, you enable SSPM to connect to your
Office 365 instance. You must consent to specific permissions when adding
the Office 365 app.
Log in to
Strata Cloud Manager.
Select and click the Office 365 tile.
On the
Posture Security tab,
Add
New instance.
Specify whether you want SSPM to connect with
Read
Permissions only or with
Read and
Write permissions.
The onboarding page lists the API scopes that SSPM will access to
complete basic scans and to perform advanced scans and actions.
Connect with Office 365
SSPM redirects you to the Office 365 login page.
Enter the credentials for the Microsoft account that you identified
earlier, and sign in to Office 365.
Microsoft displays a consent form that details the access permissions
that SSPM requires.
Review the consent form and allow the requested permissions.
SSPM connects to your Office 365 instance, and displays whether it
was able to access the API scopes that it requires for its scans and
other actions. If SSPM is unable to access necessary scopes, it
indicates which scans and actions it will not be able to perform.
Onboard an Office 365 App to SSPM Using a Service Principal
Connect an Office 365 instance to SSPM to detect posture risks.
For SSPM to detect posture risks in your Office 365 instance, you must onboard your
Office 365 instance to SSPM. Through the onboarding process, SSPM connects to a
Microsoft API and, through the API, scans your Office 365 instance at regular
intervals for misconfigured settings. If there are misconfigured settings, SSPM
suggests a remediation action based on best practices.
SSPM can get access to your Office 365 instance through a Microsoft Entra (formerly
Azure) service principal, which represents a Microsoft Entra application that you
create. You configure the application's permissions to give SSPM access to the API
scopes that SSPM requires. You can limit SSPM's access to read-only scopes, which
will enable SSPM to complete its scans. Or you can give SSPM additional access to
enable SSPM to complete actions, such as automated remediation of misconfigured
settings or user-access revocation to a third-party plugin. When you register this
application, Microsoft Entra creates the associated service principle that SSPM will
use to connect to the API.
| Item | Description |
| Tenant ID | A globally unique identifier (GUID) for your Microsoft Entra
tenant. |
| Client ID | SSPM will access a Microsoft API through a Microsoft Entra
service principal that represents an application that you create.
Microsoft Entra generates the client ID to uniquely identify the
application and its associated service principal. |
| Client Secret | SSPM will access a Microsoft API through a Microsoft Entra
service principal that represents an application that you create.
Microsoft Entra generates the client Secret, which SSPM uses to
authenticate to the service principal. |
To onboard your Office 365 instance, you complete the following actions:
Log in to the administrator account that you will use to create your Microsoft
Entra application and its associated service principal.
Required Permissions: The administrator must be able to grant access
to the API scopes required by SSPM. These scopes will differ depending on
whether you want to grant SSPM read and write permissions, or if you want to
grant SSPM read permissions only. In SSPM, the Office 365 onboarding screen
lists the scopes that SSPM requires.
After SSPM connects to your Office 365 instance, it will perform an initial
scan of your instance, and will then run scans at regular intervals. For
SSPM to run these scans, the service principal must remain available. If you
delete the service account, the scans will fail and you will need to onboard
Office 365 again.
Open a web browser to the
Microsoft Entra admin center.
Log in to the administrator account.
Create and register your Microsoft Entra application.
From the left navigation pane in the Microsoft Entra admin center,
select
Enterprise applications.
On the Enterprise applications page, select the action to create a
New application.
On the All applications page, select
Create your own
application.
On the Create your own application flyout dialog, complete the
following actions:
- Specify a name for the application.
- Select Register an application to integrate with
Microsoft Entra ID (App you're developing).
- Create.
On the Register an application window, complete the following
actions:
- For supported account types, select Accounts in this
organizational directory only.
- Register.
Registering the application automatically creates its associated
service principal.
Configure API permissions for your application.
Configure your application to enable access only to the scopes that SSPM
requires. The API permissions that you will configure for your application
depend on whether you want SSPM to have read-permissions only or read and
write permissions.
Identify the scopes that SSPM requires.
In SSPM, the Office 365 onboarding screen lists the scopes that SSPM
requires. To get the required scopes, you will begin the onboarding
process in SSPM, but you will not complete the process.
- From the Add Application page in SSPM (), click the Office 365 tile.
- On the Posture Security tab,
Add New instance.
- Select the option for Service
Principal.
The onboarding page lists the API
scopes that SSPM requires for read access and for read and
write access. Copy the API scopes that you want to allow.
You will add these permissions to your application.
Don’t continue to the next
step unless you have copied the permissions. Later, you will
add these permissions to your application.
- Because you won't be completing the onboarding process until
after you have finished configuring your application,
Cancel Onboarding.
From the left navigation pane in the Microsoft Entra admin center,
select
Enterprise applications.
From the list of applications on the All applications page, open your
application.
From the details page for your application, select
Permissions.
On the Permissions page for your application, click the
Application registration link, which will
take you to the API permissions page for your application.
On the API permissions page,
Add a
permission.
On the Request API permissions flyout dialog, select .
Select each of the API scopes that you obtained from the Office 365
onboarding screen in SSPM and
Add
permissions.
On the API permissions page, verify that all the scopes were added as
application permissions.
The scopes you added should all have a type of Application. Only the
User.Read permission, which Microsoft Entra added automatically when you
registered the application, will have a type of Delegated.
On the API permissions page, select
Grant admin consent
for
your organization.
Copy the application credentials (client ID and client secret) for your
application.
Copy the client ID.
- From the details page for your application, select
Overview.
- From the overview page, copy the client ID from the
Application (client) ID field and
paste it into a text file.
Don’t
continue to the next step unless you have copied the client
ID. You will provide this information to SSPM during the
onboarding process.
Create and copy the client secret.
- From the details page for your application, select .
- Create a New client secret.
- Copy the Value of the new client secret
and paste it into a text file.
Don’t
continue to the next step unless you have copied the client
secret. You will provide this information to SSPM during the
onboarding process.
Identify your tenant ID.
From the left navigation pane in the Microsoft Entra admin center,
select
Home.
Copy the tenant ID and paste it into a text file.
Don’t continue to the next step unless you
have copied your tenant ID. You will provide this information to
SSPM during the onboarding process.
Connect SSPM to your Office 365 instance.
In SSPM, complete the following steps to enable SSPM to connect to your Office
365 instance.
Log in to
Strata Cloud Manager.
Select and click the Office 365 tile.
On the
Posture Security tab,
Add
New instance.
Select the option for
Service Principal.
Enter the application credentials (client ID and client secret) and
your tenant ID.
Depending on the API permissions that you configured for your
application, specify whether you want SSPM to connect with
Read Permissions only or with
Read
and Write Permissions.
Connect.