microsoft / SmartHotel360-IoT

SmartHotel360 deployed Azure digital Twins to control lights and temperature of the hotel rooms.
MIT License
99 stars 66 forks source link

Error creating Digital Twins space #49

Closed vidaljuanp closed 4 years ago

vidaljuanp commented 4 years ago

Initially I would like to be able to create a space with Digital Twins Service Management APIs. I followed the steps for creating the Digital Twins resource, as well as registering an application in Azure Active Directory. With the client ID, log in to Digital Twins Service Management APIs after that I created a body for create a space Following the model described in Digital Twins Service Management APIs. I executed the request and I get error in the attached document. errors.pdf

I give it a SpaceSubtype and it gives me System Error, I have searched the Microsoft doc (https://github.com/microsoft/SmartHotel360-IoT/files/4024301/errors.pdf) uments about it and I don't find much, nor any tutorial about creating a Space, or any resource that manages Digital Twins from Digital Twins Service Management APIs,or or from Azure Functions. The only thing that has worked for me is the Gets, but they don't return anything because I still can't post. Any ideas?

We've got the errror 403 and according with the issue https://github.com/MicrosoftDocs/azure-docs/issues/27503 this is due to user permissions. We tried to add Space Administrator role to the user but it doesn't exists. So we try to create a custom role but it ask for Premium Active Directory account. Still we don't know if that will guarantee that the issue will be solved.

Thanks