Skip to main content
insightsoftware Docs insightsoftware Docs
{%article.title%}
Published:
Was this article helpful?
0 out of 0 found this helpful

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

Overview

When trying to log in to your Business Central Public Cloud data source, you encounter the following message:

O365_error.png

The complete text of the error message is:

The data source is not properly configured for Microsoft 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

You need to force .NET to use TLS 1.2 instead of TLS 1.1/1.0 on any machine encountering this error.

To enforce TLSĀ 1.2:

  1. Open Windows Powershell as an Administrator.
  2. 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
    				
  3. Restart Excel.
  4. Log into your Business Central Public Cloud data source.
Note that we recommend always backing up the Windows Registry before making any changes.

Published:

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

Overview

When trying to log in to your Business Central Public Cloud data source, you encounter the following message:

O365_error.png

The complete text of the error message is:

The data source is not properly configured for Microsoft 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

You need to force .NET to use TLS 1.2 instead of TLS 1.1/1.0 on any machine encountering this error.

To enforce TLSĀ 1.2:

  1. Open Windows Powershell as an Administrator.
  2. 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
    				
  3. Restart Excel.
  4. Log into your Business Central Public Cloud data source.
Note that we recommend always backing up the Windows Registry before making any changes.

For an optimal Community experience, Please view on Desktop