microsoftgraph / microsoftgraph/msgraph-sdk-powershell
Microsoft.Graph.Beta.psd1 contains Microsoft.Graph.Authentication twice
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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