Swarm cluster creation failed

Traying to deploy swarm cluster stable channel from Azure portal, fails with BadRequest error:

  "error": {
    "details": [],
    "code": "SubscriptionNotRegisteredForFeature",
    "message": "Subscription xxxxxxxxxxxxxxxxxxxxxx is not registered for feature Microsoft.Network/AllowPublicIPOnVMScaleSetVMs required to carry out the requested operation."

Seems that my subscription hasn’t required feature enabled, but I had installed previously beta versions and it worked fine.

We noticed this error too internally and we are in the process of issuing a fix. There was a recent change introduced by Microsoft in Azure template validation that is causing this.

With latest docker-ce-17.03 version it seem to work again, but I have to generate new credentials to avoid following error in logger

msrestazure.azure_exceptions.CloudError: Azure Error: AuthorizationFailed
Message: The client '46e7ca21-7c31-400e-b90d-576d64e542fe' with object id '46e7ca21-7c31-400e-b90d-576d64e542fe' does not have authorization to perform action 'Microsoft.Storage/storageAccounts/listKeys/action' over scope '/subscriptions/0aff12f8-9fd1-467b-b90a-5979b2aabf60/resourceGroups/prefapp-swarm-1/providers/Microsoft.Storage/storageAccounts/h4mh7sflikc6clogs'.