Forum Discussion
dan_birrell
May 13, 2020Copper Contributor
Extracting UPN or DisplayName by importing csv with Object-Id
Hi All Microsoft has released a script to import to a csv; IOS devices affected by a passcode issue within Intune. As an organisation we need to contact each of these users and ask them to ta...
dan_birrell
May 18, 2020Copper Contributor
PeterJ_Inobits Hi Sorry Peter
This is the script Microsoft produced. The output just doesn't allow us to move forward with this as we need to know which device is assigned to which user.
If there is some way of importing object id's or device names to then output upn's then that would suit.
I raised a ticket with Microsoft and they came back and said they don't help edit script. Even their scripts written to fix their own issues 🙂
PeterJ_Inobits
May 18, 2020Iron Contributor
Hi Dan
That script returns the device id correct? You can the query the device owner based on the device id. There are at least two attributes, registereddeviceowner and registereddeviceuser IIRC.
Another approach is to use the Azure Sign Logs and extract the deviceID and UserID and correlate them against the output provided the MS script