Skip to content

Commit fba7d4e

Browse files
committed
Added mar troubleshooting section
1 parent aea23b7 commit fba7d4e

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

docs-conceptual/azps-14.3.0/install-azps-optimized.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,11 @@ Installing the **Az** PowerShell module from the Microsoft Artifact Registry (MA
115115
more reliable installations. MAR ensures quick download speeds and a smooth setup process,
116116
minimizing potential issues during installation.
117117

118+
> [!IMPORTANT]
119+
> There's a known issue when installing from MAR. For details, see the
120+
> [Known issues when installing from MAR](https://learn.microsoft.com/powershell/azure/troubleshooting#known-issue-installing-az-modules-from-mar-fails)
121+
> section of our troubleshooting guide.
122+
118123
1. If you're using a version of PowerShell earlier than 7.5.0, you must install
119124
**Microsoft.PowerShell.PSResourceGet** version 1.1.0 or higher
120125

docs-conceptual/azps-14.4.0/install-azps-optimized.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,11 @@ Installing the **Az** PowerShell module from the Microsoft Artifact Registry (MA
115115
more reliable installations. MAR ensures quick download speeds and a smooth setup process,
116116
minimizing potential issues during installation.
117117

118+
> [!IMPORTANT]
119+
> There's a known issue when installing from MAR. For details, see the
120+
> [Known issues when installing from MAR](https://learn.microsoft.com/powershell/azure/troubleshooting#known-issue-installing-az-modules-from-mar-fails)
121+
> section of our troubleshooting guide.
122+
118123
1. If you're using a version of PowerShell earlier than 7.5.0, you must install
119124
**Microsoft.PowerShell.PSResourceGet** version 1.1.0 or higher
120125

docs-conceptual/azps-14.4.0/troubleshooting.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,22 @@ To enable debug logging for an entire PowerShell session, you set the value of t
2626
$DebugPreference = 'Continue'
2727
```
2828

29+
## Known issue: Installing Az modules from MAR fails
30+
31+
When installing certain Az PowerShell modules from the Microsoft Artifact Registry (MAR) using
32+
**PSResourceGet**, you may encounter an error such as:
33+
34+
```Output
35+
Install-PSResource: Package(s) 'Az.Keyvault' could not be installed from repository 'MAR'.
36+
```
37+
38+
> [!NOTE]
39+
> As a temporary workaround, install the module from another repository, such as the PowerShell
40+
> Gallery, until the issue is resolved.
41+
42+
For more information, see
43+
[Bugfix for comparing file path name to determine exact match](https://github.com/PowerShell/PSResourceGet/pull/1817).
44+
2945
## Troubleshooting multifactor authentication (MFA)
3046

3147
### Interactive login failures

0 commit comments

Comments
 (0)