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-EntraBetaDirectoryRole] - InvalidOperation: The variable '$keysChanged' cannot be retrieved because it has not been set. #1176

Open
SteveMutungi254 opened this issue Oct 28, 2024 · 0 comments
Labels

Comments

@SteveMutungi254
Copy link
Contributor

Thanks for reporting the bug. Please ensure you've gone through the following checklist before opening an issue:

  • Make sure you can reproduce this issue using the latest released version of Microsoft.Graph.Entra or Microsoft.Graph.Entra.Beta.
  • Please search the existing issues to see if there has been a similar issue filed.

Describe the bug

A clear and concise description of what the bug is.

Command executed:

Get-EntraBetaDirectoryRole -Filter "DisplayName eq 'Helpdesk Administrator'"
InvalidOperation: The variable '$keysChanged' cannot be retrieved because it has not been set.

Related historical issues:

Issue: #880
PR: #1015

To Reproduce
Steps to reproduce the behavior:

  1. Execute -Entra with ...
  2. See error at ...

Expected behavior

A clear and concise description of what you expected to happen.

Debug Output

Run the problematic command with -Debug and paste the resulting debug stream below.
⚠ ATTENTION: Be sure to remove any sensitive information that may be in the logs.

Module Version

Please run Get-Module Microsoft.Graph.Entra* after cmdlet execution and paste the output below.
If a module cannot be installed or imported, please run Get-Module -ListAvailable and paste the output.

Environment Data

Please run $PSVersionTable and paste the output below. If running the Docker container image, indicate the tag of the image used and the version of Docker engine.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

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

No branches or pull requests

1 participant