Using RestAPI without SAS is possible or not?
From the documentation, it doesn`t get clear to me if one can use the REST API of the DPS (e.g. manage individual enrollments) without an SAS token but with a Service Principal?
If it IS possible it would be nice to have a more in-depth example of how to obtain the neceeary token - which endpoint to use for that, what the necessary headers are etc.
If it´s NOT possible, would be nice to explicitely state that.
If i just overlooked the respective portions on the page would be nice if you could point me to the right direction.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 22e8630a-f85d-51ff-fd0a-bcc7e4cb9373
- Version Independent ID: 17b60e0b-914c-e307-d75d-9e7c6ae8e795
- Content: Access control and security for DPS by using Azure Active Directory
- Content Source: articles/iot-dps/concepts-control-access-dps-azure-ad.md
- Service: iot-dps
- GitHub Login: @Jesusbar
- Microsoft Alias: jesusbar
@1stcommander I have assigned the issue to the content author for further review.
Managing DPS with identity is available as a public preview feature, you can learn more about it at https://docs.microsoft.com/en-us/azure/iot-dps/concepts-control-access-dps-azure-ad
We currently don't have any sample for REST APIs, we will work on it for GA of this feature.