0
0

Azure FunctionsのCORS設定

Posted at

Azure Functions に CORS 設定を追加する
image.png

Azure CLIのコマンドは下記。
az functionapp cors add -g {myRG} -n {myAppName} --allowed-origins https://myapps.com

ただしコマンドの場合は、サブスクリプションが複数ある場合違うサブスクが選択されていると当然操作ができないので
az account show
でアカウントが正しいかを確認し、もし違うサブスクが選ばれている場合には
az account set -s "YOUR_SUBSCRIPTION Name"
を実行するとよい

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0