Onboard a Microsoft OneDrive App for Scans That Use the Microsoft Graph API
Table of Contents
Expand all | Collapse all
-
-
- Allowed List of IP Addresses
-
- Begin Scanning a Bitbucket App
- Begin Scanning a Box App
- Begin Scanning ChatGPT Enterprise App
- Begin Scanning a Cisco Webex Teams App
- Begin Scanning a Confluence App
- Begin Scanning a Confluence Data Center App
- Begin Scanning a Dropbox App
- Begin Scanning a GitHub App
- Begin Scanning a Gmail App
- Begin Scanning a Google Drive App
- Begin Scanning a Jira App
- Begin Scanning a Jira Data Center App
- Begin Scanning a Microsoft Exchange App
- Begin Scanning Office 365 Apps
- Begin Scanning a Microsoft Teams App
- Begin Scanning a Salesforce App
- Begin Scanning a ServiceNow App
- Begin Scanning a ShareFile App
- Begin Scanning a Slack Enterprise App
- Begin Scanning a Slack for Pro and Business App
- Begin Scanning a Workday App (Beta)
- Begin Scanning a Zendesk App
- Begin Scanning a Zoom App
- Reauthenticate to a Cloud App
- Verify Permissions on Cloud Apps
- Start Scanning a Cloud App
- Rescan a Managed Cloud App
- Delete Cloud Apps Managed by Data Security
- API Throttling
- Configure Classification Labels
- Microsoft Labeling for Office 365
- Google Drive Labeling
- Configure Phishing Analysis
- Configure WildFire Analysis
-
-
-
- What is an Incident?
- Assess New Incidents on Data Security
- Filter Incidents
- Configure Slack Notification Alerts on Data Security
- Security Controls Incident Details
- Track Down Threats with WildFire Report
- Customize the Incident Categories
- Close Incidents
- Download Assets for Incidents
- View Asset Snippets for Incidents
- Analyze Inherited Exposure
- Email Asset Owners
- Modify Incident Status
-
-
-
- What’s SaaS Security Inline?
- Navigate To SaaS Security Inline
- SaaS Visibility for NGFW
- SaaS Visibility and Controls for NGFW
- SaaS Visibility for Prisma Access
- SaaS Visibility and Controls for Panorama Managed Prisma Access
- SaaS Visibility and Controls for Cloud Managed Prisma Access
- Activate SaaS Security Inline for NGFW
- Activate SaaS Security Inline for VM-Series Firewalls with Software NGFW Credits
- Activate SaaS Security Inline for Prisma Access
- Connect SaaS Security Inline and Strata Logging Service
- Integrate with Azure Active Directory
-
-
- SaaS Policy Rule Recommendations
- App-ID Cloud Engine
- Guidelines for SaaS Policy Rule Recommendations
- Predefined SaaS Policy Rule Recommendations
- Apply Predefined SaaS Policy Rule Recommendations
- Create SaaS Policy Rule Recommendations
- Delete SaaS Policy Rule Recommendations
- Enable SaaS Policy Rule Recommendations
- Modify Active SaaS Policy Rule Recommendations
- Monitor SaaS Policy Rule Recommendations
-
- Enable Automatic Updates for SaaS Policy Rule Recommendations on Cloud Managed Prisma Access
- Import New SaaS Policy Rule Recommendations on Cloud Managed Prisma Access
- Update Imported SaaS Policy Rule Recommendations on Cloud Managed Prisma Access
- Remove Deleted SaaS Policy Rule Recommendations on Cloud Managed Prisma Access
- Manage Enforcement of Rule Recommendations on NGFW
- Manage Enforcement of Rule Recommendations on Panorama Managed Prisma Access
- Change Risk Score for Discovered SaaS Apps
-
-
-
-
- Onboarding Overview for Supported SaaS Apps
- Onboard an Aha.io App to SSPM
- Onboard an Alteryx Designer Cloud App to SSPM
- Onboard an Aptible App to SSPM
- Onboard an ArcGIS App to SSPM
- Onboard an Articulate Global App to SSPM
- Onboard an Atlassian App to SSPM
- Onboard a BambooHR App to SSPM
- Onboard a Basecamp App to SSPM
- Onboard a Bitbucket App to SSPM
- Onboard a BlueJeans App to SSPM
- Onboard a Box App to SSPM
- Onboard a Bright Security App to SSPM
- Onboard a Celonis App to SSPM
- Onboard a Cisco Meraki App to SSPM
- Onboard a ClickUp App to SSPM
- Onboard a Confluence App to SSPM
- Onboard a Contentful App to SSPM
- Onboard a Convo App to SSPM
- Onboard a Couchbase App to SSPM
- Onboard a Coveo App to SSPM
- Onboard a Crowdin Enterprise App to SSPM
- Onboard a Customer.io App to SSPM
- Onboard a Databricks App to SSPM
- Onboard a Datadog App to SSPM
- Onboard a DocHub App to SSPM
- Onboard a DocuSign App to SSPM
- Onboard an Envoy App to SSPM
- Onboard an Expiration Reminder App to SSPM
- Onboard a Gainsight PX App to SSPM
- Onboard a GitLab App to SSPM
- Onboard a Google Analytics App to SSPM
- Onboard a Google Workspace App to SSPM
- Onboard a GoTo Meeting App to SSPM
- Onboard a Grammarly App to SSPM
- Onboard a Harness App to SSPM
- Onboard a Hellonext App to SSPM
- Onboard an IDrive App to SSPM
- Onboard an Intercom App to SSPM
- Onboard a Jira App to SSPM
- Onboard a Kanbanize App to SSPM
- Onboard a Kanban Tool App to SSPM
- Onboard a Kustomer App to SSPM
- Onboard a Lokalise App to SSPM
- Onboard a Microsoft Azure AD App to SSPM
- Onboard a Microsoft Outlook App to SSPM
- Onboard a Microsoft Power BI App to SSPM
- Onboard a Miro App to SSPM
- Onboard a monday.com App to SSPM
- Onboard a MongoDB Atlas App to SSPM
- Onboard a MuleSoft App to SSPM
- Onboard a Mural App to SSPM
- Onboard an Office 365 App to SSPM
- Onboard an Okta App to SSPM
- Onboard a PagerDuty App to SSPM
- Onboard a RingCentral App to SSPM
- Onboard a Salesforce App to SSPM
- Onboard an SAP Ariba App to SSPM
- Onboard a ServiceNow App to SSPM
- Onboard a Slack Enterprise App to SSPM
- Onboard a Snowflake App to SSPM
- Onboard a SparkPost App to SSPM
- Onboard a Tableau Cloud App to SSPM
- Onboard a Webex App to SSPM
- Onboard a Workday App to SSPM
- Onboard a Wrike App to SSPM
- Onboard a YouTrack App to SSPM
- Onboard a Zendesk App to SSPM
- Onboard a Zoom App to SSPM
- Onboarding an App Using Azure AD Credentials
- Onboarding an App Using Okta Credentials
- Register an Azure AD Client Application
- View the Health Status of Application Scans
- Delete SaaS Apps Managed by SSPM
Onboard a Microsoft OneDrive App for Scans That Use the Microsoft Graph API
Connect a Microsoft OneDrive instance to SSPM to detect posture risks.
High-level configuration scanning across Office 365 products
is available by onboarding the Office 365 app. Adding the
Microsoft OneDrive app individually gives you greater visibility into Microsoft
OneDrive settings.
For SSPM to detect posture risks in your Microsoft OneDrive instance with more detail
than the Office 365 app scan, you must onboard your Microsoft OneDrive instance to
SSPM. Through the onboarding process, SSPM connects to a Microsoft API and, through
the API, scans your Microsoft OneDrive instance for misconfigured settings. If there
are misconfigured settings, SSPM suggests a remediation action based on best
practices.
There are two ways in which SSPM can scan your Microsoft OneDrive instance. The
following instructions describe how to enable SSPM to use the Microsoft Graph API to
perform its configuration scans. You can follow alternative instructions that enable
SSPM to use data extraction techniques to perform its
configuration scans. To onboard your Microsoft OneDrive instance, you
complete the following actions:
Collect Information for Connecting to Your Microsoft OneDrive Instance
To access your Microsoft OneDrive instance, SSPM requires the following
information, which you will specify during the onboarding process.
Item | Description |
---|---|
Username |
The login email address for a Microsoft account. The account
must not require multi-factor authentication (MFA).
Required Permissions: The user must be assigned to
one of the following roles.
|
Password |
The password for the Microsoft account.
|
Client ID | SSPM will access a Microsoft API through an Azure AD application that you create. During the onboarding process, SSPM prompts you for a Client ID that uniquely identifies the application. |
As you complete the following steps, make note of the values of the items
described in the preceding table. You will need to enter these values during
onboarding to access your Microsoft OneDrive instance from SSPM.
- Identify the Microsoft account that SSPM will use to access your Microsoft OneDrive instance.Account requirements:
- The account must have OneDrive Administrator or Global Administrator permissions.
- The account must not require MFA.
After SSPM establishes the connection, it will perform an initial scan of your Microsoft OneDrive instance, and will then run scans at regular intervals of approximately 30 minutes. For SSPM to run these scans, the administrator account that you use to establish the initial connection must remain available. For this reason, we recommend that you use a dedicated service account to grant SSPM access. If you delete the service account, the scans will fail and you will need to onboard Microsoft OneDrive again.Register an Azure AD Client ApplicationDuring onboarding, SSPM will access a Microsoft API through an Azure AD client application that you create. Follow the instructions to register a an Azure AD client application, and note the Client ID that Azure AD generates for the client app.If you have already onboarded another Microsoft application that requires an Azure AD client application, you can use that same Azure AD client app to onboard Microsoft OneDrive. If necessary, ask the administrator who registered the Azure AD client app for its Client ID.Do not continue to the next step unless you have obtained the Client ID. You will provide this information to SSPM during the onboarding process.Enable Required Enterprise Applications
To complete its scans, SSPM also requires the Microsoft Graph Command Line Tools and the PnP Management Shell enterprise applications. - As a Global Administrator, log in to the the Azure portal and navigate to the Enterprise applications page. To quickly navigate to this page, enter Enterprise applications in the search field at the top of the page.Enable Microsoft Graph Command Line Tools and PnP Management Shell for user sign in. Complete the following steps for both of these enterprise applications.
- On the Enterprise applications page, use the search box to quickly locate the Microsoft Graph Command Line Tools or PnP Management Shell application.If the Enterprise applications page does not list these applications, you will need to install them by using PowerShell. PowerShell is included with all supported versions of Microsoft Windows, but if you are using the macOS operating system, you will need to install PowerShell on macOS.
- Open PowerShell. If you are using Microsoft Windows, use the search bar to locate the PowerShell application and Run as Administrator. If you are using macOS, open the command terminal and run the pwsh command.
- Enter the following commands in PowerShell to install the
Microsoft.Graph.Authentication and PnP.PowerShell
modules.Install-Module Microsoft.Graph.Authentication -Scope CurrentUser -RequiredVersion 2.18.0 -Force -Verbose Install-Module PnP.PowerShell -RequiredVersion 1.12.0 -Force -Verbose
- On Windows only: Enter the following command to set the PowerShell execution policies for subsequent commands. This command prevents PowerShell from blocking commands and scripts. This block prevention will be in effect only for the current PowerShell session. If you are using the macOS operating system, you do not need to enter this command.
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force- Enter the following commands in PowerShell to access Microsoft Graph and the PnP Management Shell.
Connect-MgGraph -Scope "Sites.Read.All","Domain.Read.All","openid","profile","ReportSettings.Read.All","OrgSettings-AppsAndServices.Read.All","OrgSettings-DynamicsVoice.Read.All","OrgSettings-Forms.Read.All","Application.Read.All"; Register-PnPManagementShellAccessAfter you issue the preceding commands, the Enterprise applications page will list the Microsoft Graph Command Line Tools and the PnP Management Shell application.Click the application name and, from the left navigation pane, navigate to its Properties.Set the Enabled for users to sign-in property and the Assignment required property to Yes.Save your changes.Make sure you have completed the preceding steps for both Microsoft Graph Command Line Tools and PnP Management Shell.Connect SSPM to Your Microsoft OneDrive Instance
By adding a Microsoft OneDrive app in SSPM, you enable SSPM to connect to your Microsoft OneDrive instance.- From the Add Application page (Posture SecurityApplicationsAdd Application ), click the Microsoft OneDrive Powershell tile.Under posture security instances, Add Instance or, if there is already an instance configured, Add New instance.Log in with Credentials.When prompted, provide SSPM with the Microsoft user credentials and the Client ID of the Azure AD application.Connect.
- On Windows only: Enter the following command to set the PowerShell execution policies for subsequent commands. This command prevents PowerShell from blocking commands and scripts. This block prevention will be in effect only for the current PowerShell session. If you are using the macOS operating system, you do not need to enter this command.