Skip to content

Commit 93fcf52

Browse files
authored
Merge pull request #3586 from MicrosoftDocs/main
Merge to Live for v14.0.0
2 parents 5c992f2 + a9505da commit 93fcf52

File tree

8 files changed

+52
-47
lines changed

8 files changed

+52
-47
lines changed

.openpublishing.redirection.json

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,42 +3,22 @@
33
{
44
"redirect_document_id": false,
55
"redirect_url": "/powershell/azure/",
6-
"source_path": "docs-conceptual/azps-13.5.0/overview.md"
6+
"source_path": "docs-conceptual/azps-14.0.0/overview.md"
77
},
88
{
99
"redirect_document_id": false,
1010
"redirect_url": "/powershell/azure/install-azure-powershell/",
11-
"source_path": "docs-conceptual/azps-13.5.0/install-az-ps.md"
11+
"source_path": "docs-conceptual/azps-14.0.0/install-az-ps.md"
1212
},
1313
{
1414
"redirect_document_id": false,
1515
"redirect_url": "/powershell/azure/install-azure-powershell/",
16-
"source_path": "docs-conceptual/azps-13.5.0/install-az-ps-msi.md"
16+
"source_path": "docs-conceptual/azps-14.0.0/install-az-ps-msi.md"
1717
},
1818
{
1919
"redirect_document_id": false,
2020
"redirect_url": "/powershell/azure/azureps-support-lifecycle/",
21-
"source_path": "docs-conceptual/azps-13.5.0/azps-versioning-release-cadence.md"
22-
},
23-
{
24-
"redirect_document_id": false,
25-
"redirect_url": "/powershell/azure/",
26-
"source_path": "docs-conceptual/azps-13.4.0/overview.md"
27-
},
28-
{
29-
"redirect_document_id": false,
30-
"redirect_url": "/powershell/azure/install-azure-powershell/",
31-
"source_path": "docs-conceptual/azps-13.4.0/install-az-ps.md"
32-
},
33-
{
34-
"redirect_document_id": false,
35-
"redirect_url": "/powershell/azure/install-azure-powershell/",
36-
"source_path": "docs-conceptual/azps-13.4.0/install-az-ps-msi.md"
37-
},
38-
{
39-
"redirect_document_id": false,
40-
"redirect_url": "/powershell/azure/azureps-support-lifecycle/",
41-
"source_path": "docs-conceptual/azps-13.4.0/azps-versioning-release-cadence.md"
21+
"source_path": "docs-conceptual/azps-14.0.0/azps-versioning-release-cadence.md"
4222
},
4323
{
4424
"redirect_document_id": false,

docfx.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@
404404
"docs-conceptual/**/*": "conceptual"
405405
},
406406
"ms.date": {
407-
"azps-14.0.0/**/*": "5/15/2025",
407+
"azps-14.0.0/**/*": "5/19/2025",
408408
"azps-12.5.0/**/*": "11/11/2024",
409409
"azps-0.10.0/**/*": "4/14/2020",
410410
"azuresmps-4.0.0/**/*": "11/28/2020"
@@ -478,7 +478,7 @@
478478
"author": "mikefrobbins",
479479
"ms.manager": "jasongroce",
480480
"uhfHeaderId": "Azure",
481-
"ms.date": "05/06/2025"
481+
"ms.date": "05/19/2025"
482482
},
483483
"dest": "azureps",
484484
"lruSize": 0,

docs-conceptual/azps-13.5.0/zone-pivot-groups.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

docs-conceptual/azps-14.0.0/index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ landingContent:
6363
- linkListType: reference
6464
links:
6565
- text: Cmdlet reference
66-
url: /powershell/module/?view=azps-13.5.0
66+
url: /powershell/module/?view=azps-14.0.0
6767
- title: Identity and authentication
6868
linkLists:
6969
- linkListType: how-to-guide

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,31 @@ The following example installs the **AzPreview** module using **PSResourceGet**.
110110
Install-PSResource -Name AzPreview
111111
```
112112

113+
## Install from the Microsoft Artifact Registry
114+
115+
Installing the **Az** PowerShell module from the Microsoft Artifact Registry (MAR) offers faster,
116+
more reliable installations. MAR ensures quick download speeds and a smooth setup process,
117+
minimizing potential issues during installation.
118+
119+
1. If you're using a version of PowerShell earlier than 7.5.0, you must install
120+
**Microsoft.PowerShell.PSResourceGet** version 1.1.0 or higher
121+
122+
```powershell
123+
Install-Module -Name Microsoft.PowerShell.PSResourceGet -Repository PSGallery
124+
```
125+
126+
1. Register MAR as a repository in **PSResourceGet** on your system
127+
128+
```powershell
129+
Register-PSResourceRepository -Name MAR -Uri https://mcr.microsoft.com -ApiVersion ContainerRegistry
130+
```
131+
132+
1. Install the **Az** PowerShell Module from MAR using **PSResourceGet**
133+
134+
```powershell
135+
Install-PSResource -Name Az -Repository MAR
136+
```
137+
113138
## Benefits of optimizing the installation process
114139

115140
By adopting a more selective and efficient installation process, you:

docs-conceptual/azps-14.0.0/protect-secrets.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,19 @@ Set-Item -Path Env:\AZURE_CLIENTS_SHOW_SECRETS_WARNING -Value $false
4343

4444
## Transition from Strings to SecureStrings
4545

46-
For security purposes, the default output type of the `Get-AzAccessToken` cmdlet is scheduled to
47-
change from a plain text `String` to `SecureString`. To prepare for this update, use the
48-
**AsSecureString** parameter before the breaking change occurs.
46+
To improve security and reduce the risk of credential leaks, the default output type of the
47+
`Get-AzAccessToken` cmdlet changed from a plain text `String` to a `SecureString`, starting with
48+
**Az.Accounts** version 5.0.0 and **Az** version 14.0.0.
4949

50-
This change is designed to prevent the inadvertent exposure of sensitive tokens in plain text. To
51-
ensure a smooth transition, update your scripts to use the **AsSecureString** parameter, as shown in
52-
the following example:
50+
Access tokens are sensitive credentials that grant access to Azure resources. Returning them as
51+
plain text increases the risk of accidental exposure in logs, transcripts, or interactive sessions.
52+
By switching to `SecureString`, the cmdlet helps prevent tokens from being displayed or stored
53+
insecurely.
5354

54-
```azurepowershell-interactive
55-
$token = Get-AzAccessToken -AsSecureString
56-
```
55+
If your scenario requires the token in plain text, which is strongly discouraged, you can convert
56+
the `SecureString` manually. For guidance, see
57+
[How can I convert a SecureString to plain text in PowerShell?][convert-secure-string-to-string].
58+
59+
<!-- link references -->
60+
61+
[convert-secure-string-to-string]: /powershell/azure/faq#how-can-i-convert-a-securestring-to-plain-text-in-powershell-

docs-conceptual/azps-14.0.0/upcoming-breaking-changes.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ title: Upcoming breaking changes in Azure PowerShell
99

1010
# Upcoming breaking changes in Azure PowerShell
1111

12+
The breaking changes listed in this article are planned for the next major release of the Az
13+
PowerShell module unless otherwise noted. Per our
14+
[Support lifecycle](azureps-support-lifecycle.md), breaking changes in Azure PowerShell occur twice
15+
a year with major versions of the Az PowerShell module.
16+
1217
## Az.Accounts
1318

1419
### `Get-AzAccessToken`

docs-conceptual/includes/current-version.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ ms.topic: include
33
ms.custom:
44
---
55

6-
The current version of Azure PowerShell is 13.5.0.
6+
The current version of Azure PowerShell is 14.0.0.

0 commit comments

Comments
 (0)