0

With this reference, https://learn.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
8
  • azure site is a classic mode(asm) command. Do you check your cli mode? Commented Jul 31, 2017 at 7:25
  • I've checked cli mode and it shows "asm", but thanks anyway, I will try & use new az command from now on. Commented Jul 31, 2017 at 7:31
  • azure site create --git my-app-name works for me. Do you check your account azure account list. Your subscription is right? Commented Jul 31, 2017 at 7:40
  • Your Azure account has subscription or multiple subscriptions? Commented Jul 31, 2017 at 7:56
  • yes, I have subscription. I've just fixed question above. Commented Jul 31, 2017 at 8:07

1 Answer 1

0

azure site is a classic(asm) mode resource, azure web is a arm mode resource. You should give your account co-admin permission in classic Portal. New Portal does not work on it. Please refer to this question.

According to your description, you want to deploy a web app on Azure. You could use Azure CLI 2.0 to do this. Please refer to this link.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.