Skip to main content
Question

Intune App overwriting asset tag with device name


So this isn’t making sense to me, but since nobody else has mentioned it I have to assume I’m overlooking something.

We previously set up the Intune app to only create devices and update custom fields, just so we could get them pulled in. Like so:

 

 

Yesterday, I checked the “Update Asset” box to update the asset and custom fields so that we’re pulling in current usage data, etc. Shown here:

 

That setting alone is causing the Asset Tag field in iiQ to be overwritten with the Device Name from Intune. So lucky me, I’ve successfully erased about 10k asset tags. We can work through that though…

 

I don’t see anywhere in the options that suggests the device name is mapped to the asset tag field, and nothing in this guide mentions it either.

 

I even tried manually setting the asset tag on one device again, and then ran a full sync again, thinking it was maybe a one-time thing… nope. Overwritten again.

Intune doesn’t have an asset tag field that I can load these to and map in iiQ, so I don’t know how else we’re supposed to keep our asset tags attached to them in iiQ.

Is this a bug or expected behavior? If it’s expected… WHY???

12 replies

Userlevel 7
Badge +13

@jclark Thank you for submitting your question to our community! 😄

I am looking into this, but I have reached out for some additional assistance. Did you submit a support ticket on this? If so, what is the ticket number? 

Userlevel 6
Badge +13

I did not, because I’m assuming this is how it was designed - that’s usually the answer I get lol.

I am looking into a workaround right now, but still curious is that’s expected behavior or not.

Userlevel 7
Badge +13

@jclark It was confirmed this is functioning as intended—however, a possible workaround. If you uncheck the updated asset, you will be given the update custom field option to select. This will update only the custom field instead of the asset tag. I hope this helps. 

 

Userlevel 2
Badge +3

I did not, because I’m assuming this is how it was designed - that’s usually the answer I get lol.

I am looking into a workaround right now, but still curious is that’s expected behavior or not.

@jclark what do you have in your Data Mapping set to for the Asset Tag?

 

Userlevel 6
Badge +13

I did not, because I’m assuming this is how it was designed - that’s usually the answer I get lol.

I am looking into a workaround right now, but still curious is that’s expected behavior or not.

@jclark what do you have in your Data Mapping set to for the Asset Tag?

 

@akorkishko 

Since we have several connections for assets (Jamf, Google, Intune, SCCM) we don’t have anything set there. That just chooses an app that takes first priority when mapping, but doesn’t stop it otherwise.

@jclark It was confirmed this is functioning as intended—however, a possible workaround. If you uncheck the updated asset, you will be given the update custom field option to select. This will update only the custom field instead of the asset tag. I hope this helps. 

 

@Kathryn Carter I appreciate the response - I did state originally that we were doing that previously, but none of the metadata was being updated that way. It doesn’t make sense to me that there’s no way to stop the device name from mapping to the asset tag field, and it’s also not documented anywhere.

As a workaround, we are going to try mapping the asset tags to the “ManagedDeviceName” in Intune, which is a separate field from the “Device Name”. This is going to take some time, though.

Userlevel 7
Badge +13

@jclark Yes I understand how this would be confusing. Please let me know if adjusting the name mapping helps! 

Userlevel 6
Badge +13

@Kathryn Carter circling back to this - as I’ve still hit a dead end.

 

  • If we leave “Update Asset” unchecked - all of the meta information from Intune is immediately stale the next day, so it’s pointless to have it. (recent users, etc. We need all of that.)
  • If we leave it checked - the “Device Name” writes to the asset tag field in iiQ by default.
  • The only field iiQ can write back to in Intune is the “Managed Device Name”, so we tried a “both directions” sync, mapping that to the asset tag field in iiQ. Set our asset tags in iiQ and run the sync… It does a “pull” from Intune first, before a “push”… so it’s taking whatever the current value is in Intune, writing it to the asset tag field in iiQ, and then pushing that same value back to Intune (which is absolutely pointless).
  • I really don’t understand why this is the way it is. We basically have to choose between keeping the asset data up to date, or having an asset tag.

I have to be missing something...

Userlevel 7
Badge +13

@jclark I am confused.

“It does a “pull” from Intune first, before a “push””

Is this happening in a manual sync or the nightly sync? The data should be pushed and then pulled. If it is the nightly sync, let’s get this escalated to support. 

Userlevel 6
Badge +13

From a manual sync - is the behavior not the same if I click the button versus it running itself overnight?

I haven’t tried to see if it’s different with the nightly, but… If that’s the case - I honestly can’t make a single change and wait an entire day to see if it worked overnight before trying the next thing. That’s awful. lol

Userlevel 6
Badge +13

A “Push changes to Intune” action would help here - similar to Google!

Userlevel 7
Badge +13

@jclark So when you perform a manual sync, you will need to push changes first before the sync. That would be the main issue here. I agree a Push changes to intune action would be great, I have created that idea for you here: 

 

Userlevel 6
Badge +13

@Kathryn Carter thanks for creating that, and thanks for the assistance!

Reply