Event banner
Configuration as Code in Microsoft Intune
Event Ended
Thursday, Oct 27, 2022, 07:00 AM PDTEvent details
Join Microsoft’s Customer Acceleration Team to learn about how Microsoft Graph and Azure DevOps can be used for automating common tasks. Walk through common scenarios using configuration as code to m...
Heather_Poulsen
Updated Dec 27, 2024
ZebulonSmith
Oct 27, 2022Iron Contributor
Amazing content so far. Just in case it's not covered in the presentation, what's the best way to authenticate to graph from an automation platform where you wouldn't want to store a username and password?
- Nina DesnicaOct 27, 2022
Microsoft
Hi Zeb! Here's a good starter link: Authentication and authorization basics https://learn.microsoft.com/en-us/graph/auth/auth-concepts. When working with config as code, you need to use userless authentication, as described here https://learn.microsoft.com/en-us/graph/auth-v2-service, and then for storing the variables that you need such as app id, app secret you can use Azure Key Vault: https://azure.microsoft.com/en-us/products/key-vault/ https://learn.microsoft.com/en-us/azure/key-vault/resource-graph-samples?tabs=azure-cli. Hope this helps! - UniverseCitiz3nOct 27, 2022Copper ContributorAzure Service Principal with right permissions. Such service principal can be linked with project and then used with built-in feature so that its credentials are safe and are not stored anywhere 🙂