title: Add Scope (oauth2Permissions) to Azure app registration using CLI
body: <p>I followed <a href="https://stackoverflow.com/a/62685254/14638023">this answer</a> from Stackoverflow to create a scope using cli but I am getting <code>Invalid property 'oauth2Permissions'</code>. Looks like <code>--set oauth2Permissions</code> is not right. But many articles are mentioning the same way to do it.</p>
  <pre><code>az ad app update --id $appId --set oauth2Permissions=@oauth2Permissionsnew.json
  </code></pre>