Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
Hello vegka pandit,
Good day. Thank you for posting in the community!
Sincere apologies for any inconvenience this issue might be causing you. Following the description you have provided; I understand that you are facing an error when running a PowerShell script using mggraph. We mainly focus on the basics of Outlook and would like to provide guidance on your query.
For questions specifically related to PowerShell, I recommend posting your concerns in the appropriate community. You can find expert support in the "PowerShell" section in Microsoft PowerShell Community Experts in this category have extensive knowledge of PowerShell and can provide customized solutions to unique problems.
I apologize for redirecting you to a different community, but I believe this step will ensure faster and more accurate assistance for your specific scenario.
Thank you for your cooperation and understanding. Feel free to post your questions in the Microsoft Community and we will always do our best to help you.
Sincerely,
Md Ashabul Haque | Microsoft Community Moderator