thiccCheesy
thiccCheesy17h ago

Microsoft.Graph module commands not recognized

I am using Powershell in an attempt to automate onboarding for Microsoft365 account creation. When I use “Import-Module Microsoft.Graph” the step infinitely runs until timeout. “Install-Module Microsoft.Graph” passes through, but then commands in that module are said to be not recognized (Ex: Connect-MgGraph). We are a company of Mac users
5 Replies
Hugo
Hugo16h ago
i'll have a look in the meantime, does it work if you run Install then Import?
thiccCheesy
thiccCheesyOP16h ago
It has been running for about 3 minutes now with no progress. The comments are different commands and combinations I have been trying. Thank you for the quick response, awesome service
No description
Hugo
Hugo16h ago
Reddit
From the PowerShell community on Reddit: MSGraph Modules import ext...
Explore this post and more from the PowerShell community
Hugo
Hugo16h ago
you should import the submodule you need (.e.g Import-Module Microsoft.Graph.Notes) and you don't need to run install-module (modules are installed automatically based on imports)
thiccCheesy
thiccCheesyOP16h ago
I ran into another issue, but I believe that’s on my end. Thank you so much for the helpful and timely response, if there’s a place I can write you a review please let me know

Did you find this page helpful?