I am using the mac adress so i can make unique devices automaticly in Azure IoT Hub and send then back a Primary Key. But I found a solution with a function and I remove the ":" and now it works.
It just for having a unique name, and the Mac address is easy readable for the installer, so he can couple the device to a specific client.
Thanks for helping me out