azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

issues on step Add-ADDCloudSyncADDomain, with powershell

Open hiran-filho opened this issue 2 years ago • 2 comments

image (2)

having performed all the steps, using admin user I have this error, last step of the domain when provisioning the agent via powershell


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

hiran-filho avatar Aug 15 '22 18:08 hiran-filho

@hiran-filho It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!!

RohitMungi-MSFT avatar Aug 16 '22 04:08 RohitMungi-MSFT

@RohitMungi-MSFT,

sorry

in issues, i'm use this doc, see that the problem appears almost at the end when it is to add the domain, in step 13

https://docs.microsoft.com/en-us/azure/active-directory/cloud-sync/how-to-install-pshell

before doing the script above, I performed the prerequisites below, because I was having some problems, but unfortunately the one I'm facing I didn't find how to solve it

https://docs.microsoft.com/en-us/azure/active-directory/cloud-sync/reference-powershell

on another server another error is appearing at the same point, where it informs that it was not possible to find the domino

hiran-filho avatar Aug 16 '22 11:08 hiran-filho

@hiran-filho I reviewed the issue and came up with solution that at place of -DomainName hmf.local . You can try with -DomainName "hmf.local". If you still getting the same issue. Please feel free to reach out to us. image

YashikaTyagii avatar Aug 18 '22 09:08 YashikaTyagii

@YashikaTyagi-MSFT

I tried that, but I got the same error.

I tried "hmf.local" and I tried 'hmf.local'

This process is a laboratory I'm doing, I used a 2016 base server, and using the same steps on a base 2019 server I got another error about the kds key and even using the command Add-KdsRootKey -EffectiveTime ((get-date).addhours(-10))

I promise to send here as soon as possible the steps I'm using and the errors on each server.

my idea is to create an automation to upload a VM with windows server installing AD and already interconnecting with Azure via cloud sync

hiran-filho avatar Aug 18 '22 11:08 hiran-filho

@hiran-filho We are working on the issue and will get back to you. Thanks for your quick response.

YashikaTyagii avatar Aug 19 '22 04:08 YashikaTyagii

Thank you for submitting this issue. Unfortunately, due to high volumes I was unable to respond to this in a timely manner. At this point, I am going to close this due to it's age and the possibility that it may have been addressed. If this is still a problem, please consider submitting a new issue. Thank you.

#please-close

billmath avatar Jul 18 '23 16:07 billmath