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

Get-MsIdUnmanagedExternalUsers not handling missing property #3

Closed
f4rty opened this issue Feb 18, 2022 · 1 comment
Closed

Get-MsIdUnmanagedExternalUsers not handling missing property #3

f4rty opened this issue Feb 18, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@f4rty
Copy link
Contributor

f4rty commented Feb 18, 2022

Describe the bug
Get-MsIdUnmanagedExternalUsers does not handle the IsViral property being missing. The $userRealmResponse variable needs to be checked to ensure it has an object.

To Reproduce
Execute Get-MsIdUnmanagedExternalUsers

Expected behavior
Just show viral users found and handle empty object / missing property

Screenshots
image

Environment (please complete the following information):

  • OS: Windowd
  • PowerShell Version - 7.2
  • MS Graph SDK PowerShell Module Version 1.9.2

Additional context
Add any other context about the problem here.

@f4rty f4rty added the bug Something isn't working label Feb 18, 2022
@f4rty
Copy link
Contributor Author

f4rty commented Feb 24, 2022

@merill - done now, no?

@f4rty f4rty closed this as completed Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant