Azureの小ネタ (改)

~Azureネタを中心に、色々とその他の技術的なことなどを~

azure site createが失敗

Linux向けコマンドラインツールからWebサイトを作成しようとして--gitオプションを付けると失敗します。

statemachine@ubuntu:~$ azure site create hogefuga5 --git
info:    Executing command site create
+ Enumerating locations
+ Enumerating sites
info:    Using location East US
+ Retrieving user information
error:   Access is denied.
error:   site create command failed

gitを付けないと成功します。仕様変更されて最初からGitリポジトリが作られているのではないかという予想。なぜかというと作成した直後に管理ポータルを見るとGit URLが表示されるからなのですが、以前はちょこっと操作が必要だった気がします。またいきなりcloneもできなかった気がしますが、いまはOKですし。

statemachine@ubuntu:~$ azure site create hogefuga5 
info:    Executing command site create
+ Enumerating locations
+ Enumerating sites
info:    Using location East US
info:    Creating a new web site at hogefuga5.azurewebsites.net
+ Sending site information
info:    Created website at hogefuga5.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 hogefuga5 --git".
info:    site create command OK

Git使いたかったら、--git付けてrerunしろと書いてありますが、失敗します。

仕様変更は構わないのですが、原稿書いてるときに(ゲフン、ゲフン。というかドキュメントやツール群を入れ替える前にやるのはやめてください(涙目


同じ現象に悩んでいるかたがいらっしゃる模様。
http://stackoverflow.com/questions/12416578/azure-website-creation-gives-access-denied