Sign Up for Training |
insightsoftware Company Site
Community
Downloads
Training
Submit a Request
Become a Jet Insider
Give Feedback

Error: The data source is not properly configured for Office 365 authentication


Related Articles...

Overview

When trying to log in to your Business Central Public Cloud data source, the user is faced with the following message:

O365_error.png

Complete text of error message is:

The data source is not properly configured for Office 365 authentication:
AADSTS1002016: You are using TLS version 1.0, 1.1 and/or 3DES cipher which are deprecated to improve the security posture of Azure AD. Your TenantID is: TenantID. Please refer to https://go.microsoft.com/fwlink/?linkid=2161187 and conduct needed actions to remediate the issue. For further questions, please contact your administrator.


Resolution Process

We will need to force .NET to use TLS 1.2 instead of TLS 1.1/1.0 on any machine encountering this error. To do so, please go through the following process:

Open Windows Powershell as Administrator and enter the following commands:

Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord
                      
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type Dword

Once the commands have been entered, you will need to restart Excel and then log into your Business Central Public Cloud data source.

Please note that we always recommend backing up the Windows Registry before making any changes.

Was this article helpful?
2 out of 2 found this helpful

Comments