Azure Functions に CORS 設定を追加する
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"
を実行するとよい