I am running PowerShell code from C# app to register an application in Azure AD (create an application in Azure AD).I want to Add and Grant permissions for "Power BI Service" and "Windows Azure Active Directory" on this registered application.
I found that we can also edit the Manifest
of Azure AD application and pass requiredResourceAccess
array. This will automatically add and grant permission for the application.
Please help me with PowerShell commands which can be run using C# code or C# code to edit Manifest
of application so that add grant and permissions to Azure Ad Application programatically.