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

Microsoft.Graph.Files Doesn't work in Azure Automation

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
azure, powershell
領域
cli, cloud

調査の方向性

まず、提供された runbook と Get-Command -Module Microsoft.Graph.Files チェックを使用して、Microsoft.Graph.Files 2.38.1 を含む Azure Automation PowerShell 7.4 ランタイムで問題を再現します。ランタイムの結果を対話型モジュールの動作と比較し、モジュールの cmdlet が検出されない理由を調査します。ランタイムで Get-MgDriveItemContent を含む Files cmdlet が見つかれば完了です。

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

説明

status:waiting-for-triage type:bug
Describe the bug

This is the same as the closed bug in https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/2756

load the Microsoft.Graph.Files module into a runtime environment and attempt to use it. All attempts fail because cmdlets like Get-MgDriveItemContent cannot be found.

Expected behavior

The cmdlets should be found.

How to reproduce

Make sure that the runtime environment includes Microsoft.Graph.Files
Create a runbook to connect to the Graph with a managed identity (or any other way you like)
Run this code:

$FilesCmdlets = Get-Command -Module Microsoft.Graph.Files
If ($FilesCmdlets) {
Write-Output "Here's what I found for Files cmdlets"
$FilesCmdlets | Format-Table Name, Version
Write-Output ("{0} cmdlets found" -f $FilesCmdlets.count)
}

No cmdlets are found, but there are 1,252 in the module (the result when reported interactively). I guess some resource issue is being met.

SDK Version

2.38.1

Latest version known to work for scenario above?

The previous reports of the bug go back to 2.19

Known Workarounds

Only workaround is to use the Graph API requests

Debug output
Click to expand log ```
</details>


### Configuration

Azure Automation
PowerShell 7.4 runtime environment
Microsoft.Graph.Files 2.38.1 module

### Other information

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

環境構築

はじめの一歩

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

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

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

似ている issue

C# の issue をもっと見る

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

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