You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to automate our onboarding process, a part of the process is creating a Microsoft 365 account for the new employee, I am using Powershell. It seems like windmill is failing to recognize a function of my import: importing ‘Microsoft.Graph’ and attempting to use ‘Connect-MgGraph’ to interact with our instance. I have been trying to use ‘Install-Module Microsoft.Graph’ because using the Import-Module command never returns anything, just spins until it timeouts. It returns the error “Connect-MgGraph is not recognized as a name of….” but I have scripted this in a different instance and this worked fine. We are a Mac only company and I was thinking that was a possible problem.
Here is my code, with app info redacted, for reference:
My company is almost all Mac. I am using 'Install-Module' because 'Import-Module' just runs until timeout. The Microsoft.Graph module is supposedly very large.
To reproduce
Create the basic Powershell action
Install-Module Microsoft.Graph
Attempt to run a command from the module, like Connect-MgGraph
Test this Step
See error
Expected behavior
With proper credentials, this code should create a test user named 'John Doe' in a Microsoft365 instance.
Screenshots
No response
Browser information
Firefox 128.0.3 (64-bit)
Application version
CE v1.437.1-20-g3864cfce2
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
I am trying to automate our onboarding process, a part of the process is creating a Microsoft 365 account for the new employee, I am using Powershell. It seems like windmill is failing to recognize a function of my import: importing ‘Microsoft.Graph’ and attempting to use ‘Connect-MgGraph’ to interact with our instance. I have been trying to use ‘Install-Module Microsoft.Graph’ because using the Import-Module command never returns anything, just spins until it timeouts. It returns the error “Connect-MgGraph is not recognized as a name of….” but I have scripted this in a different instance and this worked fine. We are a Mac only company and I was thinking that was a possible problem.
Here is my code, with app info redacted, for reference:
My company is almost all Mac. I am using 'Install-Module' because 'Import-Module' just runs until timeout. The Microsoft.Graph module is supposedly very large.
To reproduce
Expected behavior
With proper credentials, this code should create a test user named 'John Doe' in a Microsoft365 instance.
Screenshots
No response
Browser information
Firefox 128.0.3 (64-bit)
Application version
CE v1.437.1-20-g3864cfce2
Additional Context
No response
The text was updated successfully, but these errors were encountered: