ThomasKur / M365Documentation

Automatic Microsoft 365 Documentation to simplify the life of admins and consultants.
Other
300 stars 45 forks source link

WARNING: Unable to resolve package source 'https://www.poshtestgallery.com/api/v2'.` #24

Closed WAing01 closed 2 years ago

WAing01 commented 2 years ago

When running: Install-Module M365Documentation

this fails with: WARNING: Unable to resolve package source 'https://www.poshtestgallery.com/api/v2'.

PS C:\temp> Install-Module M365Documentation WARNING: Unable to resolve package source 'https://www.poshtestgallery.com/api/v2'.

This could be linked to this issue: https://github.com/PowerShell/PowerShellGallery/issues/219

Could you deploying to powershellgallery.com as suggested? thanks for your help.

ThomasKur commented 2 years ago

I assume you have not configured the test environment on your client. My module is only pushed and available on the production powershellgallery.com. You can check with: Get-PSRepository

And if the correct one is missing, register it via: Register-PSRepository -Default