With this reference, https://docs.microsoft.com/en-us/bot-framework/deploy-bot-local-git
I executed command as follows.
$ azure site create --git my-app-name
Then, an error message appeared.
info: Executing command site create
error: The server failed to authenticate the request. Verify that the certificate is valid and is associated with this subscription.
error: Error information has been recorded to C:\Users\yokoyamt\.azure\azure.err
error: site create command failed
I've tried in another azure account, which I have "power-user", then A new Resource group was created and the app service was deployed in it.
But in this time, I haven't enough role to create new resource group. So I guessed If I had specify resource group when I create app via azure-cli.
Can anyone put some light on this?
> az account list --output table
Name CloudName SubscriptionId State IsDefault
-------- ----------- ------------------------------------ ------- -----------
従量課金 AzureCloud my-subscription-id Enabled True
azure site
is a classic mode(asm) command. Do you check your cli mode? – Shui shengbaoazure site create --git my-app-name
works for me. Do you check your accountazure account list
. Your subscription is right? – Shui shengbao