MK1985
Jan 29, 2024Copper Contributor
Status:
New
enrollmentProfileName on device resource type not unambiguous
Currently we can only retrive the enrollmentProfileName from the https://learn.microsoft.com/en-us/graph/api/resources/device?view=graph-rest-1.0. The problem is that the same profile name can be used by multiple enrollmant profiles. Also all functions to retive aditional information on the enrollmant profile need the enrollment profile id to retrive them with the https://learn.microsoft.com/en-us/graph/api/intune-enrollment-enrollmentprofile-get?view=graph-rest-beta.
You will faile to retrive the correct profile if you are comming from a device if we only have the name. I suggest adding the enrollment profile id instead of the name.
No CommentsBe the first to comment