Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get device info #5

Open
y0k4i-1337 opened this issue Feb 23, 2022 · 3 comments · May be fixed by #6
Open

Unable to get device info #5

y0k4i-1337 opened this issue Feb 23, 2022 · 3 comments · May be fixed by #6

Comments

@y0k4i-1337
Copy link

During execution, the script hangs a while on "Group Membership" step and then, when it goes to "Device Info" part, I am getting the error on the image.
image

I tried to run more than once and every time the issue occurs. If I run the command "Get-MsolDevices -All" manually, it works though.

Any idea?

@y0k4i-1337 y0k4i-1337 linked a pull request Feb 23, 2022 that will close this issue
@shivasbalakrishnan
Copy link

During execution, the script hangs a while on "Group Membership" step and then, when it goes to "Device Info" part, I am getting the error on the image.

image

I tried to run more than once and every time the issue occurs. If I run the command "Get-MsolDevices -All" manually, it works though.

Any idea?

Hello before connecting to this command you need to connect-Msolservice

@shivasbalakrishnan
Copy link

Or you can connect-AzureADDevice - All

@shivasbalakrishnan
Copy link

Get-MsolDevice (MSOnline)
Get-MobileDevice (EXO)
Get-AzureADDevice (AzureAD)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants