Help Document

Introduction

Getting started

Configuring SharePoint Servers

Dashboard

Explorer

Reports

Management

Monitoring

Migration

Backup

Alerts

Configuration settings

Customization settings

General settings

Contact support

Troubleshooting tips

Microsoft 365 Audit Sync Errors

Error Message: Connecting to remote server outlook.office365.com failed with the following error message : Access is denied

Possible Reasons:

  1. The username or password is incorrect. If the password has been changed, update the same in the product's admin page and restart the product.
  2. The account doesn't have enough permission to fetch audits. Check if the account has the required privilege (SharePoint administrator and Exchange admin, or Global admin) from Microsoft 365 admin portal.

If the issue continues to persist, try following the below steps.

Open PowerShell as administrator in SharePoint Manager Plus installed machine and execute the following script:

$cred=(Get-Credential);

Connect-ExchangeOnline -Credential $cred

Search-UnifiedAuditLog -StartDate (Get-Date).AddDays(-2) -EndDate (Get-Date) -RecordType SharePoint -ResultSize 1

Note: If "The Term ‘Connect-ExchangeOnline’ is Not Recognized" alert arises, execute Install-Module -Name ExchangeOnlineManagement in PowerShell as administrator and try again.

  • If the data gets populated, then open connectDB.bat from <product-installation-directory>/bin and execute the below DB query:

    update onlineprofiles set audit_type=1;

Restart SharePoint Manager Plus and wait for the next audit sync to fetch the data.

Error Message: Connecting to remote server outlook.office365.com failed with the following error message : The WinRM client cannot process the request. Basic authentication is currently disabled in the client configuration.

Possible reason: Basic authentication has been disabled in SharePoint Manager Plus installed machine.

Follow the steps below to enable Basic authentication:

  • Open group policy settings in SharePoint Manager Plus installed machine.
  • Navigate to Computer Configuration → Administrative Templates → Windows Components → Windows Remote Management (WinRM) → WinRM Client → Allow Basic authentication → Set to enabled

Error Message: Search-UnifiedAuditLog : The term ‘Search-UnifiedAuditLog’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Possible reason: Check if the account has the required privilege (SharePoint administrator, Exchange admin, or Global admin) from Microsoft 365 admin portal.

Note: If the above script fails, use a non-MFA account for this configuration, as our audit module does not support Azure authentication.

If a different error message is displayed, kindly send the screenshots to support@sharepointmanagerplus.com