An Azure service that provides an event-driven serverless compute platform.
Hi @Kumar, Dheeraj ,
Thanks for reaching out to Microsoft Q&A.
Steps followed to install the module.
- Create a new PowerShell function app and a httptrigger
- Navigate to Appfiles=> and edit requirements.psd1 as below:
@{
# For latest supported version, go to 'https://www.powershellgallery.com/packages/Az'.
# To use the Az module in your function app, please uncomment the line below.
# 'Az' = '15.*'
'Microsoft.Graph' = '2.*'
}
- Enable System Managed Identity under function App=>Identity.
- Add
Connect-MgGraph -Identityin the function coderun.ps1to test the connection. Hope this helps!
If the resolution was helpful, kindly take a moment to click on and click on Yes for was this answer helpful. And, if you have any further query do let us know