question

ashisharya65 avatar image
0 Votes"
ashisharya65 asked Crystal-MSFT commented

Changing EnrolledBy user field with Last Logged on User ID

HI Team,

May I know how can we change the Enrolledby user field of an Intune device using the User logged on property which we get from Graph API.

There is a property call user id under Last logged on attribute.

My ask is to change the Enrolledby object ID in intune with the user id under last logged on attribute.

mem-intune-generalmem-intune-graph
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Crystal-MSFT avatar image
0 Votes"
Crystal-MSFT answered Crystal-MSFT edited

@ashisharya65, After doing a lot of research, I only find a link describe changing Intune device Primary user to last logged on user.
https://svdbusse.github.io/SemiAnnualChat/2020/03/21/Changing-Intune-Primary-User-To-Last-Logged-On-User.html
Note: non-Microsoft link, just for the reference.

I didn't find any link mentioned the method to changing the EnrolledBy. Maybe you can consider to contacting our Premier support to see if we can get more help:
https://www.microsoft.com/en-us/msservices/premier-support

Thanks for the understanding and have a nice day!


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ashisharya65 avatar image
0 Votes"
ashisharya65 answered Crystal-MSFT commented

@Crystal-MSFT - THanks for replying but I have already used this thing to change the primary user and have managed to do that. But now the ask is to change the Enrolledby user name.

I have managed to get the Enrolledby username id but unable to make the change.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@ashisharya65,, Thanks for the reply. For the method to change Enrolledby. After doing more research, I still didn't find it mentioned in our official article. Maybe you can contact our Phone support to see if we can get more information.

Thanks and have a nice day!

0 Votes 0 ·