@Peter Bons please consider using Azure Sphere API: https://learn.microsoft.com/en-us/rest/api/azure-sphere/deployments/create
When using the Azure Sphere API I believe you will be able to automate the process as long as you have a Bearer Token to impersonate your Azure Sphere Administrator role.
Please add a new feature request on feedback.azure.com Azure Sphere if you would like to have interactive logins done in a different way and share here the link.
Thanks!
Remember:
- Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
- Want a reminder to come back and check responses? Here is how to subscribe to a notification.