EvotecIT / CleanupMonster

This module provides an easy way to cleanup Active Directory from dead/old objects based on various criteria. It can also disable, move or delete objects. It can utilize Azure AD, Intune and Jamf to get additional information about objects before deleting them.
76 stars 10 forks source link

Error getting computer from Intune #15

Closed thenamelessthing closed 2 weeks ago

thenamelessthing commented 3 weeks ago

Hello, i'm trying to use the script but I got this error when I run it:

image

If I run the following command manually, I can see all computer. But If I run the script no.

Any idea?

PrzemyslawKlys commented 3 weeks ago

Check if the graph modules have only one version. If you have more than one, delete those. They get in conflicts. The problem is probably with microsoft identity dll as lots of modules use it and get in conflicts on different version.