Microsoft Azure Graph settings

Job ID: 30754616

Budget: $10 – $30 CAD

Write a Powershell script that will register an enterprise application, create a secret key and modify the following API permissions:
https://community.mimecast.com/s/article/Configuring-an-Azure-Active-Directory-Application-293891018?r=55&ui-knowledge-components-aura-actions.KnowledgeArticleVersionCreateDraftFromOnlineAction.createDraftFromOnlineArticle=1

The script should run in unattended mode, so the authentication and authorization also need to be automated.
Related categories: Azure Powershell RESTful API Microsoft Azure