-
-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Hello,
I'm loving the script so far, but I seem to be having an issue where the script is finding the device in Active Directory, but it is not finding it within Azure or Intune, even though it is there.
I'm wondering if it has something to do with the length of the computer name in AD.
For Example:
In AD, the computer was named My-Computer-Name-Is-Gokou340, but the character limit makes it My-Computer-Name-Is, The DNS name is still My-Computer-Name-Is-Gokou340, but the SAMAccount name is My-Computer-Name-Is, in Intune and Azure, the name of the device is My-Computer-Name-Is-Gokou340
It seems that any device in AD that has a longer than allowed name is not being found in Azure.
I'm happy to provide any logging or details that you may need!
Thank you again for your work on this script!