Get Anydesk ID Script

Hi,

I was trying to run the Community Script, Get Anydesk ID https://keralty.syncromsp.com/shared_scripts/457, also I have entered the subdomain of my SyncroMSP and created the custom field for Anydesk. After running the script it doesn’t produce any values, also tried to sync the Asset Data still nothing and the output it gives me is that Call-SyncroApi: success.

I would add ‘$anydeskid’ to the end of the script so you can see in the output if it’s finding what it’s supposed to. Also you can remove anything related to subdomain, syncro does that automatically now, so there’s no need to specify it.

I have managed to solve the problem now, I think the custom field is case sensitive, I have created a custom field Anydesk, but after changing with the same as in the script it works flawlessly.