We have on-premise Active Directory and trying to pull the user details and add the users to this on-premise active directory from the Azure Runbook Automation.
Getting attached error.
Add-ADGroupMember : Unable to find a default server with Active Directory Web Services running. At line:10 char:5 + Add-ADGroupMember -Identity "SPTeam" -Members "Username" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (SPTeam:ADGroup) [Add-ADGroupMember], ADServerDownException + FullyQualifiedErrorId : Unable to find a default server with Active Directory Web Services running.,Microsoft.ActiveDirectory.Management.Commands.AddADGroupMember