Skip to content

i have an issue wih powershell #3360

@hauwrang

Description

@hauwrang

Describe the bug

Get-MgBetaDirectorySetting : One or more errors occurred.
At line:1 char:1

  • $grpUnifiedSetting = Get-MgBetaDirectorySetting | Where-Object { $_.V ...
  •   + CategoryInfo          : NotSpecified: (:) [Get-MgBetaDirectorySetting_List], AggregateException
      + FullyQualifiedErrorId : System.AggregateException,Microsoft.Graph.Beta.PowerShell.Cmdlets.GetMgBetaDirectorySetting_List
    
    

Expected behavior

i expect it to work.

How to reproduce

$grpUnifiedSetting = Get-MgBetaDirectorySetting | Where-Object { $_.Values.Name -eq "EnableMIPLabels" }
$grpUnifiedSetting.Values

SDK Version

No response

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:waiting-for-triageAn issue that is yet to be reviewed or assignedtype:bugA broken experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions