How to add mdm (Mobile device management) permission

How to create an app with mdm privileges?

Did you find a way? I’m also looking.