Hi. Thank you for your question and reaching out. I’d be more than happy to help you with your query
Please make sure that you have the correct onces since it looks like that it could be an issue with your Azure server or it could be an incorrect command.
This article https://docs.microsoft.com/en-us/azure/iot-dps/quick-setup-auto-provision will help you to find the official documentation to set up an IoT Hub and Device provisioning service.
If the reply was helpful, please don’t forget to upvote or accept as answer, thank you.