• +1 (302) 476 2350
  • info@replacemagic.com
  •  

How To...

SharePoint Legacy Authentication Mode configuration & ReplaceMagic

Download ReplaceMagic

SharePoint Legacy authentication mode: Per default ReplaceMagic is using legacy authentication mode (parameter SharePoint LegacyAuthenticationMode under Configuration => SharePoint) but it might happen that legacy authentication mode cannot be used as it is disabled by your SharePoint administrators. In case that we try to use it and it is disabled we will not be able to upload changed documents.

To check current value of parameter LegacyAuthProtocolsEnabled ask you SharePoint administrators or go to PowerShell command mode (you might need to install it. Download link is : https://www.microsoft.com/download/details.aspx?id=35588) and run code:

Connect-SPOService -Url "https://replacemagic-admin.sharepoint.com";
$TenantSettings = Get-SPOTenant;
$TenantSettings.LegacyAuthProtocolsEnabled

After pressing Enter you will see if parameter is set to true or false.
For example, on our SharePoint.Online tenant we have this parameter set to True:


SharePoint Legacy Authentication mode output results

Which means that we are allowing legacy authentication mode.

In case that it is set to False please check that ReplaceMagic parameter "SharePoint LegacyAuthProtocolsEnabled" is also set to False as, like previously written, it might happen that we cannot upload changed documents (Microsoft limitation). Other approaches are to talk to your SharePoint admins to either temporary set this parameter to true or to create policy where user running ReplaceMagic will get exceptional approval to have this parameter set to true.

Approach 1 (change of parameter to true): PowerShell command to change value of LegacyAuthProtocolsEnabled is:

Set-SPOTenant -LegacyAuthProtocolsEnabled $false or
Set-SPOTenant -LegacyAuthProtocolsEnabled $true

Keep in mind that after you make change of this parameter it might take some time until it is not active (might take from few minutes to few hours) and change will have global effect.

Approach 2 (exceptional policy for ReplaceMagic): More infos how to create exception policy can be found over:

https://www.liktorius.com/2019/07/17/prevent-azure-legacy-auth-for-veeam-vbo-365

We tested this approach with our customers and it worked.

Approach 3 - usage of SharePoint App-Only authentication mode. To see how to configured it please read article "Granting access using SharePoint App-Only (use when Legacy Authentication is not allowed)"

Download ReplaceMagic

Main drivers for ReplaceMagic in combination with SharePoint:

  • Native integation with SharePoint (On-Premise and Onsite)
  • ReplaceMagic will keep main document properties
  • ReplaceMagic relies on SharePoint configuration
  • Good performances
  • Competative price for customers

In case of any questions please do not hesitate to contact us.