@axwalk, I think your intuition regarding async application creation and service principal creation is correct. In Azure CLI we do a bit of retrying to ensure creation of the service principal [0].
I've created an issue in the Azure SDK for Go to encapsulate that logic so it's not left as an exercise to the reader [1].
@axwalk, I think your intuition regarding async application creation and service principal creation is correct. In Azure CLI we do a bit of retrying to ensure creation of the service principal [0].
I've created an issue in the Azure SDK for Go to encapsulate that logic so it's not left as an exercise to the reader [1].
[0]: https:/ /github. com/Azure/ azure-cli/ blob/master/ src/command_ modules/ azure-cli- role/azure/ cli/command_ modules/ role/custom. py#L500- L632
[1]: https:/ /github. com/Azure/ azure-sdk- for-go/ issues/ 596