We have been using on-prem AD with Office365. We need to add secure LDAP for use with Jamf.
I followed the help docs and subscribed to Azure and then created new instance with unique DNS name to act as Secure LDAP point. I would like to turn on Secure LDAP, but I'm getting a message that passwords must be hashed.
I am stuck at the powershell portion of this doc - https://learn.microsoft.com/en-us/azure/active-directory-domain-services/tutorial-configure-password-hash-sync
When I run the powershell script I get errors. I substituted our connector names as instructed. Can anyone please advise? The script output is below my signature.
Thanks,
Jared Gray
WildCard Media
Windows PowerShell
Copyright (C) 2013 Microsoft Corporation. All rights reserved.
PS C:\Users\administrator.DOMAIN> C:\Users\administrator.DOMAIN\Desktop\NewHash.ps1
Get-ADSyncConnector : Unable to locate the MA: <domain.com>
At C:\Users\administrator.DOMAIN\Desktop\NewHash.ps1:10 char:6
You cannot call a method on a null-valued expression.
At C:\Users\administrator.DOMAIN\Desktop\NewHash.ps1:13 char:1
- $c.GlobalParameters.Remove($p.Name)
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: (:) [], RuntimeException
- FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At C:\Users\administrator.DOMAIN\Desktop\NewHash.ps1:14 char:1
- $c.GlobalParameters.Add($p)
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: (:) [], RuntimeException
- FullyQualifiedErrorId : InvokeMethodOnNull
Add-ADSyncConnector : <error>A null reference pointer was passed to the stub. (Exception from HRESULT:
0x800706F4)</error>
At C:\Users\administrator.DOMAIN\Desktop\NewHash.ps1:15 char:6
Set-ADSyncAADPasswordSyncConfiguration : Export MA Error: Unable to locate the MA: <domain.com>
At C:\Users\administrator.DOMAIN\Desktop\NewHash.ps1:18 char:1
- Set-ADSyncAADPasswordSyncConfiguration -SourceConnector $adConnector -TargetConn ...
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : ReadError: (Microsoft.Ident...igurationCmdlet:SetADSyncAADPas...igurationCmdlet) [Set-AD
SyncAADPasswordSyncConfiguration], InvalidOperationException
- FullyQualifiedErrorId : Export MA Error: Unable to locate the MA: <domain.com>,Microsoft.IdentityManagement.
PowerShell.Cmdlet.SetADSyncAADPasswordSyncConfigurationCmdlet
Set-ADSyncAADPasswordSyncConfiguration : Export MA Error: Unable to locate the MA: <domain.com>
At C:\Users\administrator.DOMAIN\Desktop\NewHash.ps1:19 char:1
- Set-ADSyncAADPasswordSyncConfiguration -SourceConnector $adConnector -TargetConn ...
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : ReadError: (Microsoft.Ident...igurationCmdlet:SetADSyncAADPas...igurationCmdlet) [Set-AD
SyncAADPasswordSyncConfiguration], InvalidOperationException
- FullyQualifiedErrorId : Export MA Error: Unable to locate the MA: <domain.com>,Microsoft.IdentityManagement.
PowerShell.Cmdlet.SetADSyncAADPasswordSyncConfigurationCmdlet