Comment 20 for bug 1680523

Revision history for this message
David Justice (devigned) wrote : Re: add-credential azure fails

@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