title: Give Azure application permissions over API such as "Office SharePoint Online" via PowerShell
body: <p>Is there a way to give Azure Application permissions over Office SharePoint Online API via PowerShell  ?<br>
  Manually I would:<br>
  1. Enter the Azure AD Admin center.<br>
  2. Find/Create the application I want to request permissions for.<br>
  3. Click on API Access->"Required Permissions"->"+Add"
  <a href="https://i.stack.imgur.com/tBD1F.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tBD1F.png" alt="enter image description here"></a></p>
  
  <ol start="4">
  <li>"Select API"->"Office SharePoint Online"->"Select"
  <a href="https://i.stack.imgur.com/hUtmI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hUtmI.png" alt="enter image description here"></a></li>
  <li>Choose "Read and write items in all site collections" -> "Select" -> "Done"
  <a href="https://i.stack.imgur.com/qctXP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qctXP.png" alt="enter image description here"></a></li>
  <li>"Grand Permissions"
  <a href="https://i.stack.imgur.com/1YWNT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1YWNT.png" alt="enter image description here"></a></li>
  </ol>
  
  <p><strong>If Is not possible can please someone give official link that confirms it?</strong></p>