Skip to content

Script not finding the Azure/Intune Device #14

@gokou340

Description

@gokou340

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions