I'm trying to register a device programmatically with Entra ID (formerly known as Azure Active Directory) for my organization's internal application. I've read through the official Microsoft documentation, but I'm still having trouble understanding the exact steps and the necessary API calls.
What I have tried:
Reading the official documentation: I've looked at the official Microsoft documentation but found it difficult to understand the exact steps required.
Using the Microsoft Graph API: I attempted to use the Microsoft Graph API for device registration, but I'm not sure if I'm doing it correctly.
Questions:
What are the exact steps to register a device with Entra ID programmatically?
Are there specific permissions or scopes required to register a device?
Is my approach correct, and if not, what should I change to successfully register a device?
Any help or guidance would be greatly appreciated!