【问题标题】:Azure website creation gives "Access denied"Azure 网站创建给出“拒绝访问”
【发布时间】:2012-09-14 00:19:51
【问题描述】:

我正在使用适用于 Mac (version 0.6.2 of the tools, 1.0.1 of the azure tools installer for MacOS) 的 azure 命令行工具,我正在尝试使用以下命令创建一个带有 git 存储库的网站:azure site create MyUniqueApp --git

我一直看到这个:

$ azure site create MyUniqueApp --git
info:    Executing command site create
+ Enumerating locations                                                        
+ Enumerating sites                                                            
info:    Updating existing site
+ Retrieving user information                                                  
error:   Access is denied.
error:   site create command failed

不带--git 选项运行相同的命令是成功的。

$ azure site create MyUniqueApp
info:    Executing command site create
+ Enumerating locations                                                        
+ Enumerating sites                                                            
info:    Using location North Europe
info:    Creating a new web site at MyUniqueApp.azurewebsites.net
+ Sending site information                                                     
info:    Created website at myuniqueapp.azurewebsites.net
info:    Initializing remote Azure repository
+ Updating site information                                                    
info:    Repository initialized
+ Retrieving site information                                                  
info:    To create a local git repository to publish to the remote site, please rerun this command with the --git flag: "azure site create MyUniqueApp --git".
info:    site create command OK

我错过了什么?

【问题讨论】:

  • 您是否为您的帐户下载并导入了发布设置文件?
  • 帐户下载和帐户导入也是我的选择。我赌的是redhotvengeance。 (说起来很有趣)
  • RHV 可能应该作为未来访客的答案发布。
  • 我确实使用了azure account downloadazure account import. Notice that the command works if I don't specify --git`

标签: git deployment command-line azure web


【解决方案1】:

我们遇到了一个应该很快解决的临时问题。有关更多信息,请参阅我的博文:http://hashtagfail.com/post/31636752900/azure-site-create-bug

【讨论】:

    猜你喜欢
    • 2015-09-25
    • 2018-01-19
    • 1970-01-01
    • 2013-10-08
    • 1970-01-01
    • 1970-01-01
    • 2013-11-11
    • 1970-01-01
    • 2013-02-06
    相关资源
    最近更新 更多