title: PowerShell script to Automate AAD app and assigning delegated Permissions
body: <p>Continue to my <a href="https://stackoverflow.com/questions/42781260/how-to-register-an-office-365-application-in-azure-ad-automatically-using-powers">last question how to automate azure AD app creation</a> 
  I could manage to automate AAD creation using PowerShell script, but wanted to go one step ahead and assign permissions to application like MS graph/ Azure AD, office 365  etc <a href="https://i.stack.imgur.com/m6Pnt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/m6Pnt.png" alt="e.g. assign or delegate permissions"></a>.</p>
  
  <p>I don't find any help on MS. Can anybody give some hint on it.</p>