Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Remove-MgBetaDeviceManagementDomainJoinConnector returns 403

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
静か
技術スタック
powershell
領域
api, authorization

調査の方向性

まず、報告された scope と connector ID を指定して、Microsoft.Graph.Beta.DeviceManagement.Administration モジュールの Remove-MgBetaDeviceManagementDomainJoinConnector を再現します。生成されたリクエストと 403 応答を調査し、その後、cmdlet の動作を必要な Microsoft Graph 権限と比較します。SDK またはリクエストの問題を特定して修正し、コネクタの削除が成功すれば完了です。

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

説明

Needs: Attention :wave: type:bug
Describe the bug

Attempting to remove an old connector as Global Admin and Scope "DeviceManagementConfiguration.ReadWrite.All". Invoking Remove-MgBetaDeviceManagementDomainJoinConnector returns the following:

Status: 403 (Forbidden)
ErrorCode: UnknownError
Date: 2026-07-31T19:24:09
Expected behavior

It should delete the connector without error.

How to reproduce
Install-Module -Name "Microsoft.Graph.Beta.DeviceManagement.Administration" -Scope CurrentUser -Repository PSGallery
Connect-MgGraph -Scopes DeviceManagementConfiguration.ReadWrite.All
Remove-MgBetaDeviceManagementDomainJoinConnector -DeviceManagementDomainJoinConnectorId "fc4a3994-9d48-4be9-91a5-02f7cf1c1a62"
SDK Version

2.38.1

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

No response

Configuration
PSVersion                      7.6.3
PSEdition                      Core
GitCommitId                    7.6.3
OS                             Microsoft Windows 10.0.26100
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.4
SerializationVersion           1.1.0.1
WSManStackVersion              3.0
Other information

No response

主要言語
C#
スター
902
フォーク
233
平均マージ
1日 3時間
マージ済み PR(30日)
24

環境構築

はじめの一歩

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

microsoftgraph/msgraph-sdk-powershell のほかの issue

microsoftgraph/msgraph-sdk-powershell の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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