[BUG] - Manager is not returned from Get-PnPAzureADUser

オープン
#3,939 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
csharp, powershell
領域
api

調査の方向性

Get-PnPAzureADUser コマンドから始め、-Select Manager と ID を使用して問題を再現し、その後、AdditionalProperties を同等の Get-MgUser の結果と比較します。マネージャーの詳細情報(できれば GUID を含む)が空のプロパティではなく返されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug reproduced
Reporting an Issue or Missing Feature

When running the below command the Manager value is empty. The equivelent Get-MgUser command returns the manager value
Get-PnPAzureADUser -Select Manager -Identity $Identity

Expected behavior

The details of the Manager (ideally including at least the GUID) is returned

Actual behavior

The field is returned under AdditionalProperties, but the property is empty

Steps to reproduce behavior
$Identity = ""
$PnPUser = Get-PnPAzureADUser -Select Manager -Identity $Identity 
$PnPUser.AdditionalProperties
What is the version of the Cmdlet module you are running?

2.4.0 and Powershell 7.2

Which operating system/environment are you running PnP PowerShell on?
  • Windows
  • Linux
  • MacOS
  • Azure Cloud Shell
  • Azure Functions
  • Other : please specify
主要言語
C#
スター
911
フォーク
407
平均マージ
3日 1時間
マージ済み PR(30日)
10

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pnp/powershell のほかの issue

pnp/powershell の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。