microsoftgraph / microsoftgraph/msgraph-sdk-powershell

Microsoft.Graph.Beta.psd1 contains Microsoft.Graph.Authentication twice

Open
#3,335 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Status: Needs Investigation type:bug
Dominant language
C#
Stars
898
Forks
230
Avg merge
2d 5h
Merged PRs (30d)
31

Description

Describe the bug

Just a quick one from me - it looks as though Microsoft.Graph.Authentication is listed twice in the list of RequiredModules in Microsoft.Graph.Beta.psd1

Last check, I saw it on line 54 and 92. There could be issues with saying the module is already loaded with this being present twice, plus maybe causing some other issues I'm not aware of

Expected behavior

Microsoft.Graph.Authentication listed only one is what I think I'd expect to see in here

How to reproduce

1.In PowerShell, Install-Module Microsoft.Graph.Beta
2. Browse to your install directory, and open the module manifest (MIcrosoft.Graph.Beta.psd1)
3. Scroll down to the RequiredModule section, and observe two instances of Microsoft.Graph.Authentication

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_

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the installed Microsoft.Graph.Beta.psd1 manifest and inspect its RequiredModules entries, especially the reported lines 54 and 92. Reproduce with Install-Module Microsoft.Graph.Beta, then verify that Microsoft.Graph.Authentication appears only once in the RequiredModules section.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
tooling
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.