Skip to content

Commit 98885f3

Browse files
dingmeng-xueazure-powershell-botNickcandyhiagarobinmalik
authored
Merge pull request Azure#20356 from Azure/release-2022-12-06
* Migrate SignalR from generation to main (Azure#20230) * Move SignalR to main * Update ChangeLog.md * Update SignatureIssues.csv * Update SignatureIssues.csv Co-authored-by: Beisi Zhou <[email protected]> * Migrate ServiceBus from generation to release-2022-12-06 (Azure#20316) * Move ServiceBus to release-2022-12-06 * Update ChangeLog.md * Update SignatureIssues.csv * Update ChangeLog.md Co-authored-by: Beisi Zhou <[email protected]> Co-authored-by: NanxiangLiu <[email protected]> * Migrate EventHub from generation to release-2022-12-06 (Azure#20315) * Move EventHub to release-2022-12-06 * Update ChangeLog.md * Update SignatureIssues.csv * Update ChangeLog.md Co-authored-by: Beisi Zhou <[email protected]> Co-authored-by: NanxiangLiu <[email protected]> * [RecoveryServices.Backup] Added support for passing DiskEncryptionSetId for Cross region restore (Azure#20295) * Added CZR test case added CRR DES support re-recorded failed test * fixing the issue in playback mode * Update New-AzADAppCredential.md (Azure#20317) Clarify examples. Also fixes the "Unable to get certificate thumbprint" issue in the portal, by giving an example of passing $CertificateThumbprint variable to the -CustomKeyIdentifier parameter. Co-authored-by: NanxiangLiu <[email protected]> * {DesktopVitualization} Fix Azure#20307: Update examples and add default values (Azure#20322) Fixes Azure#20307 Co-authored-by: NanxiangLiu <[email protected]> * Typo "resouce"→"resource" (Azure#20321) https://learn.microsoft.com/en-us/powershell/module/az.datafactory/add-azdatafactoryv2dataflowdebugsessionpackage?view=azps-9.1.0 https://github.com/Azure/azure-powershell/blob/main/src/DataFactory/DataFactoryV2/help/Add-AzDataFactoryV2DataFlowDebugSessionPackage.md #PingMSFTDocs Co-authored-by: NanxiangLiu <[email protected]> * Enable AzKeyStore with keyring in Linux (Azure#20296) * Enable AzKeystore with keyring in Linux * Update common library version. * Upgraded reference of azure-powershell-common to 1.3.67-preview Co-authored-by: Vincent Dai <[email protected]> Co-authored-by: NanxiangLiu <[email protected]> * Move StackHCI to release-2022-12-06 (Azure#20337) * Revert "Enable AzKeyStore with keyring in Linux (Azure#20296)" (Azure#20332) This reverts commit 97452c6. Co-authored-by: NanxiangLiu <[email protected]> * Fix test failure (Azure#20342) * disable token cache for service principal (Azure#20336) Co-authored-by: NanxiangLiu <[email protected]> Co-authored-by: Jin Lei <[email protected]> * Upgraded reference of azure-powershell-common to 1.3.67-preview (Azure#20329) * Upgraded reference of azure-powershell-common to 1.3.67-preview * Update Common.Netcore.Dependencies.targets * Update ChangeLog.md Co-authored-by: NanxiangLiu <[email protected]> Co-authored-by: Beisi Zhou <[email protected]> * Move Monitor to release-2022-12-06 (Azure#20348) * CosmosDB Mongo API RBAC Release (Azure#19595) * Add SDK source code * Update AssemblyInfo.cs * generated code * build fix * mongo rbac changes * update test records * Update New-AzCosmosDBMongoDBPrivilege.md * Update New-AzCosmosDBMongoDBPrivilege.md * Update New-AzCosmosDBMongoDBPrivilege.md * Update New-AzCosmosDBMongoDBPrivilegeResource.md * Update New-AzCosmosDBMongoDBRole.md * update help * update recordings * update recordings * update static analysis * Cosmos DB Service related changes * Added help files * Resolved nit * Static Analysis another nit * Update Az.CosmosDB.psd1 * Added service tests recording * Update ExampleIssues.csv * Update ExampleIssues.csv * Update New-AzCosmosDBAccount.md * Delete ExampleIssues.csv * Update New-AzCosmosDBMongoDBRoleDefinition.md Added backtick for cmdlets in examples that were separated in multi-lines * Update New-AzCosmosDBMongoDBUserDefinition.md * Update Update-AzCosmosDBMongoDBRoleDefinition.md * Update Update-AzCosmosDBMongoDBUserDefinition.md * update examples Co-authored-by: dingmeng-xue <[email protected]> Co-authored-by: Praful Johari <[email protected]> Co-authored-by: Vincent Dai <[email protected]> Co-authored-by: Yunchi Wang <[email protected]> Co-authored-by: NanxiangLiu <[email protected]> * 2022-12-06 (Azure#20318) Co-authored-by: Azure PowerShell <[email protected]> Co-authored-by: NanxiangLiu <[email protected]> Co-authored-by: Himanshu Agarwal <[email protected]> Co-authored-by: Robin Malik <[email protected]> Co-authored-by: RakeshMohan-MSFT <[email protected]> Co-authored-by: Hiroshi Yoshioka <[email protected]> Co-authored-by: Jin Lei <[email protected]> Co-authored-by: Vincent Dai <[email protected]> Co-authored-by: Yeming Liu <[email protected]> Co-authored-by: Ashwini Singh <[email protected]> Co-authored-by: dingmeng-xue <[email protected]> Co-authored-by: Praful Johari <[email protected]> Co-authored-by: Yunchi Wang <[email protected]>
2 parents 24598e1 + c925574 commit 98885f3

File tree

1,826 files changed

+394900
-111744
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,826 files changed

+394900
-111744
lines changed

ChangeLog.md

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,117 @@
1+
## 9.2.0 - December 2022
2+
#### Az.Accounts
3+
* Enabled caching tokens when logging in with a client assertion. This fixed the incorrectly short lifespan of tokens.
4+
* Upgraded target framework of Microsoft.Identity.Client to net461 [#20189]
5+
* Stored 'ServicePrincipalSecret' and 'CertificatePassword' into 'AzKeyStore'.
6+
* Updated the reference of Azure PowerShell Common to 1.3.67-preview.
7+
8+
#### Az.Aks
9+
* Bumped API version to 2022-09-01
10+
* Added parameter '-NodeOsSKU' for 'New-AzAksCluster' and parameter '-OsSKU' for 'New-AzAksNodePool'
11+
* Added parameter '-Mode' for 'New-AzAksNodePool' and 'Update-AzAksNodePool'
12+
* Added property '-NodeImageVersion' for the output of 'Get-AzAksNodePool'[#19893]
13+
* Added parameter '-NodePoolLabel' for 'Set-AzAksCluster', '-NodeLabel' for 'New-AzAksNodePool' and 'Update-AzAksNodePool'
14+
* Added parameter '-NodePoolTag' for 'New-AzAksCluster' and 'Set-AzAksCluster', '-Tag' for 'New-AzAksNodePool' and 'Update-AzAksNodePool'
15+
16+
#### Az.ApplicationInsights
17+
* Supported Workbook function. Below is the new cmdlet
18+
* 'Get-AzApplicationInsightsMyWorkbook'
19+
* 'Get-AzApplicationInsightsWorkbook'
20+
* 'Get-AzApplicationInsightsWorkbookRevision'
21+
* 'Get-AzApplicationInsightsWorkbookTemplate'
22+
* 'New-AzApplicationInsightsMyWorkbook'
23+
* 'New-AzApplicationInsightsWorkbook'
24+
* 'New-AzApplicationInsightsWorkbookTemplate'
25+
* 'New-AzApplicationInsightsWorkbookTemplateGalleryObject'
26+
* 'Remove-AzApplicationInsightsMyWorkbook'
27+
* 'Remove-AzApplicationInsightsWorkbook'
28+
* 'Remove-AzApplicationInsightsWorkbookTemplate'
29+
* 'Update-AzApplicationInsightsMyWorkbook'
30+
* 'Update-AzApplicationInsightsWorkbook'
31+
* 'Update-AzApplicationInsightsWorkbookTemplate'
32+
33+
#### Az.Compute
34+
* Fixed issue found for 'Set-AzVmssVMRunCommand' [#19985]
35+
* Fixed 'Get-AzVm' cmdlet when parameter '-Status' is provided, return property 'OsName', 'OsVersion' and 'HyperVGeneration'
36+
* Fixed 'New-AzVM' cmdlet when creating VM with bootdiagnostic storage causes exception 'Kind' cannot be null.
37+
38+
#### Az.CosmosDB
39+
* Added support for Cosmos DB Service related cmdlets.
40+
41+
#### Az.DataFactory
42+
* Updated ADF .Net SDK version to 8.0.0
43+
44+
#### Az.DataProtection
45+
* Fixed spacing issues in Set-AzDataProtectionMSIPermission.ps1
46+
47+
#### Az.EventHub
48+
* Added NamespaceV2 cmdlets for EventHub
49+
50+
#### Az.KeyVault
51+
* Fixed certificate export parameter issue in 'Add-AzKeyVaultKey' [#19623]
52+
* Fixed CertificateString decoding issue in 'Import-AzKeyVaultCertificate'
53+
* Shifted the location of key CVM release policy to GitHub [#19984]
54+
* Added fallback logic (reading default CVM policy from a local copy) if fetching default CVM Policy from GitHub failed.
55+
56+
#### Az.Monitor
57+
* Fixed bug for 'New-AzActivityLogAlert' and 'Update-AzActivityLogAlert' [#19927]
58+
59+
#### Az.Network
60+
* Added optional parameters 'CustomBlockResponseStatusCode' and 'CustomBlockResponseBody' parameter to 'AzApplicationGatewayFirewallPolicySettings'
61+
* Added a new cmdlet to get the application gateway waf manifest and rules
62+
- 'Get-AzApplicationGatewayWafDynamicManifest'
63+
64+
#### Az.RecoveryServices
65+
* Added support for passing DiskEncryptionSetId for Cross region restore
66+
* Fixed the pagination bug in 'Get-AzRecoveryServicesAsrProtectableItem' for the V2ARCM scenario.
67+
* Fixed 'IncludeDiskId' property for 'New-ASRReplicationProtectedItem' cmdlet of H2A
68+
69+
#### Az.Resources
70+
* Added cmdlet 'Get-AzADOrganization'
71+
* Fixed 'Set-AzPolicySetDefinition' InternalServerError when the initiative is too large [#20238]
72+
73+
#### Az.ServiceBus
74+
* Added NamespaceV2 cmdlets for ServiceBus.
75+
76+
#### Az.SignalR
77+
* Updated to API version 2022-08-01-preview
78+
- Added support for custom domain. Added new cmdlets New-AzWebPubSubCustomCertificate, Get-AzWebPubSubCustomCertificate, Remove-AzWebPubSubCustomCertificate, New-AzWebPubSubCustomDomain, Get-AzWebPubSubCustomDomain, Remove-AzWebPubSubCustomDomain.
79+
- Added support for event listeners in hub settings. Added new cmdlets New-AzWebPubSubEventHubEndpointObject, New-AzWebPubSubEventNameFilterObject.
80+
81+
#### Az.StackHCI
82+
* Enabled system-assigned identity on HCI cluster resource registration and repair registration flow.
83+
* Added error message in the command Register-AzStackHCI if Arc is not enabled.
84+
* Added default region confirmation prompt if the region is not mentioned in the command Register-AzStackHCI.
85+
* Added general logging improvements.
86+
* Added logic that skipping the Arc SPN permission check in Register-AzStackHCI if a customer doesn't have the required permissions to read Arc SPN credential.
87+
* Added deprecation message for the command Test-AzStackHCIConnection. Customers can use Invoke-AzStackHciConnectivityValidation from the module AzStackHCI.EnvironmentChecker for connectivity verification tests.
88+
89+
#### Az.Storage
90+
* Supported MaxPageSize, Include, and Filter parameters for listing encryption scopes
91+
- 'Get-AzStorageEncryptionScope'
92+
* Supported excludePrefix, includeDeleted, and many new schema fields in Blob Inventory
93+
- 'New-AzStorageBlobInventoryPolicyRule'
94+
95+
#### Az.Synapse
96+
* Added breaking change message for '-SparkConfigFilePath'. It will be deprecated around the middle of December.
97+
* Updated 'New-AzSynapseSparkPool' and 'Update-AzSynapseSparkPool' to support for setting spark pool configuration artifact by '-SparkCongifuration'. '-SparkCongifuration' is an alternative of parameter '-SparkConfigFilePath'.
98+
99+
#### Az.Websites
100+
* Added Tag parameter for 'New-AzWebApp' and 'New-AzWebAppSlot'
101+
* Fixed 'Set-AzWebApp' and 'Set-AZWebAppSlot' to rethrow exception when Service Principal/User doesn't have permission to list web app configuration. [#19942]
102+
103+
### Thanks to our community contributors
104+
* @Ajay1250, The example was using the wrong command (#20237)
105+
* Hiroshi Yoshioka (@hyoshioka0128), Typo "resouce"→"resource" (#20321)
106+
* Mats Estensen (@matsest), [Az.Tools.Installer]: Updates for a new minor/patch version (#20022)
107+
* Matthew Burleigh (@mburleigh), fix typos (#20020)
108+
* Mo Zaatar (@mzaatar), Change letter case in example of New-AzStorageBlobSASToken (#20018)
109+
* @patchin404, Updates Enable-AzCdnCustomDomainCustomHttps Doc (#20165)
110+
* Robin Malik (@robinmalik), Update New-AzADAppCredential.md (#20317)
111+
* @SherrySahni, container name not supported with upper case (#20012)
112+
* @sushil490023, Adding PS Cmdlets for Azure Automation Python3 operation (#19598)
113+
* Thomas Pike (@thwpike), Typo Fix (#20087)
114+
1115
## 9.1.1 - November 2022
2116
#### Az.Aks
3117
* Upgraded AutoMapper to Microsoft.Azure.PowerShell.AutoMapper 6.2.2 with fix [#18721]

documentation/breaking-changes/upcoming-breaking-changes.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,6 +1213,20 @@
12131213
- `-InputObject`
12141214
- Alias RegisteredServer is invalid and preserved for compatibility. Alias ServerEndpoint should be used instead
12151215

1216+
## Az.Synapse
1217+
1218+
### `New-AzSynapseSparkPool`
1219+
1220+
- Parameter breaking-change will happen to all parameter sets
1221+
- `-SparkConfigFilePath`
1222+
- The parameter : 'SparkConfigFilePath' is being replaced by parameter : 'SparkConfiguration'.
1223+
1224+
### `Update-AzSynapseSparkPool`
1225+
1226+
- Parameter breaking-change will happen to all parameter sets
1227+
- `-SparkConfigFilePath`
1228+
- The parameter : 'SparkConfigFilePath' is being replaced by parameter : 'SparkConfiguration'.
1229+
12161230
## Az.Websites
12171231

12181232
### `New-AzWebAppContainerPSSession`

setup/generate.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ if( (-not (get-command -ea 0 light)) -or (-not (get-command -ea 0 heat)) -or (-n
3737
$outputName ="Az-Cmdlets"
3838

3939
# generate the product name from the current month/year.
40-
$productName = "Microsoft Azure PowerShell - November 2022"
40+
$productName = "Microsoft Azure PowerShell - December 2022"
4141

4242
# where to put temp files
4343
$tmp = Join-Path $env:temp azure-cmdlets-tmp

src/Accounts/Accounts.Test/AutosaveTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public AutosaveTests(ITestOutputHelper output)
4141
XunitTracingInterceptor.AddToContext(new XunitTracingInterceptor(output));
4242
commandRuntimeMock = new MockCommandRuntime();
4343
dataStore = new MemoryDataStore();
44+
ResetState();
4445
keyStore = SetMockedAzKeyStore();
4546
}
4647

src/Accounts/Accounts/Az.Accounts.psd1

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 10/28/2022
6+
# Generated on: 01/12/2022
77
#
88

99
@{
@@ -12,7 +12,7 @@
1212
# RootModule = ''
1313

1414
# Version number of this module.
15-
ModuleVersion = '2.10.3'
15+
ModuleVersion = '2.10.4'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
@@ -146,7 +146,10 @@ PrivateData = @{
146146
# IconUri = ''
147147

148148
# ReleaseNotes of this module
149-
ReleaseNotes = '* Updated ''Get-AzSubscription'' to retrieve subscription by Id rather than listed all the subscriptions from server if subscription Id is provided. [#19115]'
149+
ReleaseNotes = '* Enabled caching tokens when logging in with a client assertion. This fixed the incorrectly short lifespan of tokens.
150+
* Upgraded target framework of Microsoft.Identity.Client to net461 [#20189]
151+
* Stored ''ServicePrincipalSecret'' and ''CertificatePassword'' into ''AzKeyStore''.
152+
* Updated the reference of Azure PowerShell Common to 1.3.67-preview.'
150153

151154
# Prerelease string of this module
152155
# Prerelease = ''

src/Accounts/Accounts/ChangeLog.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
-->
2020

2121
## Upcoming Release
22-
* Enabled caching tokens when logging in with a service principal or client assertion. [#20013]
23-
- This could reduce extra network traffic and improve performance.
24-
- It also fixed the incorrectly short lifespan of tokens.
22+
23+
## Version 2.10.4
24+
* Enabled caching tokens when logging in with a client assertion. This fixed the incorrectly short lifespan of tokens.
2525
* Upgraded target framework of Microsoft.Identity.Client to net461 [#20189]
2626
* Stored `ServicePrincipalSecret` and `CertificatePassword` into `AzKeyStore`.
27-
* Updated the reference of Azure PowerShell Common to 1.3.65-preview.
27+
* Updated the reference of Azure PowerShell Common to 1.3.67-preview.
2828

2929
## Version 2.10.3
3030
* Updated `Get-AzSubscription` to retrieve subscription by Id rather than listed all the subscriptions from server if subscription Id is provided. [#19115]

src/Accounts/Accounts/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
// You can specify all the values or you can default the Build and Revision Numbers
4444
// by using the '*' as shown below:
4545

46-
[assembly: AssemblyVersion("2.10.3")]
47-
[assembly: AssemblyFileVersion("2.10.3")]
46+
[assembly: AssemblyVersion("2.10.4")]
47+
[assembly: AssemblyFileVersion("2.10.4")]
4848
#if !SIGN
4949
[assembly: InternalsVisibleTo("Microsoft.Azure.PowerShell.Cmdlets.Accounts.Test")]
5050
#endif

src/Accounts/Accounts/Utilities/CommandMappings.json

Lines changed: 54 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -330,25 +330,39 @@
330330
"Get-AzApplicationInsightsApiKey": {},
331331
"Get-AzApplicationInsightsContinuousExport": {},
332332
"Get-AzApplicationInsightsLinkedStorageAccount": {},
333+
"Get-AzApplicationInsightsMyWorkbook": {},
333334
"Get-AzApplicationInsightsWebTest": {},
335+
"Get-AzApplicationInsightsWorkbook": {},
336+
"Get-AzApplicationInsightsWorkbookRevision": {},
337+
"Get-AzApplicationInsightsWorkbookTemplate": {},
334338
"New-AzApplicationInsights": {},
335339
"New-AzApplicationInsightsApiKey": {},
336340
"New-AzApplicationInsightsContinuousExport": {},
337341
"New-AzApplicationInsightsLinkedStorageAccount": {},
342+
"New-AzApplicationInsightsMyWorkbook": {},
338343
"New-AzApplicationInsightsWebTest": {},
339344
"New-AzApplicationInsightsWebTestGeolocationObject": {},
340345
"New-AzApplicationInsightsWebTestHeaderFieldObject": {},
346+
"New-AzApplicationInsightsWorkbook": {},
347+
"New-AzApplicationInsightsWorkbookTemplate": {},
348+
"New-AzApplicationInsightsWorkbookTemplateGalleryObject": {},
341349
"Remove-AzApplicationInsights": {},
342350
"Remove-AzApplicationInsightsApiKey": {},
343351
"Remove-AzApplicationInsightsContinuousExport": {},
344352
"Remove-AzApplicationInsightsLinkedStorageAccount": {},
353+
"Remove-AzApplicationInsightsMyWorkbook": {},
345354
"Remove-AzApplicationInsightsWebTest": {},
355+
"Remove-AzApplicationInsightsWorkbook": {},
356+
"Remove-AzApplicationInsightsWorkbookTemplate": {},
346357
"Set-AzApplicationInsightsContinuousExport": {},
347358
"Set-AzApplicationInsightsDailyCap": {},
348359
"Set-AzApplicationInsightsPricingPlan": {},
349360
"Update-AzApplicationInsights": {},
350361
"Update-AzApplicationInsightsLinkedStorageAccount": {},
351-
"Update-AzApplicationInsightsWebTestTag": {}
362+
"Update-AzApplicationInsightsMyWorkbook": {},
363+
"Update-AzApplicationInsightsWebTestTag": {},
364+
"Update-AzApplicationInsightsWorkbook": {},
365+
"Update-AzApplicationInsightsWorkbookTemplate": {}
352366
},
353367
"Az.Attestation": {
354368
"Get-AzAttestationPolicy": {},
@@ -613,8 +627,10 @@
613627
"Az.BotService": {
614628
"Export-AzBotServiceApp": {},
615629
"Get-AzBotService": {},
630+
"Get-AzBotServiceHostSetting": {},
616631
"Initialize-AzBotServicePrepareDeploy": {},
617632
"New-AzBotService": {},
633+
"New-AzBotServiceDirectLineKey": {},
618634
"Publish-AzBotServiceApp": {},
619635
"Remove-AzBotService": {},
620636
"Update-AzBotService": {}
@@ -1355,7 +1371,21 @@
13551371
"Update-AzManagedCassandraDataCenter": {},
13561372
"Get-AzCosmosDbClientEncryptionKey": {},
13571373
"New-AzCosmosDbClientEncryptionKey": {},
1358-
"Update-AzCosmosDbClientEncryptionKey": {}
1374+
"Update-AzCosmosDbClientEncryptionKey": {},
1375+
"New-AzCosmosDBMongoDBRoleDefinition": {},
1376+
"New-AzCosmosDBMongoDBPrivilegeResource": {},
1377+
"New-AzCosmosDBMongoDBPrivilege": {},
1378+
"New-AzCosmosDBMongoDBRole": {},
1379+
"Remove-AzCosmosDBMongoDBRoleDefinition": {},
1380+
"Update-AzCosmosDBMongoDBRoleDefinition": {},
1381+
"Get-AzCosmosDBMongoDBRoleDefinition": {},
1382+
"New-AzCosmosDBMongoDBUserDefinition": {},
1383+
"Update-AzCosmosDBMongoDBUserDefinition": {},
1384+
"Get-AzCosmosDBMongoDBUserDefinition": {},
1385+
"Remove-AzCosmosDBMongoDBUserDefinition": {},
1386+
"Get-AzCosmosDBService": {},
1387+
"New-AzCosmosDBService": {},
1388+
"Remove-AzCosmosDBService": {}
13591389
},
13601390
"Az.CostManagement": {
13611391
"Get-AzCostManagementExport": {},
@@ -2307,7 +2337,12 @@
23072337
"Set-AzEventHubGeoDRConfigurationBreakPair": {},
23082338
"Set-AzEventHubGeoDRConfigurationFailOver": {},
23092339
"Set-AzEventHubNetworkRuleSet": {},
2310-
"Test-AzEventHubName": {}
2340+
"Test-AzEventHubName": {},
2341+
"Get-AzEventHubNamespaceV2": {},
2342+
"New-AzEventHubKeyVaultPropertiesObject": {},
2343+
"New-AzEventHubNamespaceV2": {},
2344+
"Remove-AzEventHubNamespaceV2": {},
2345+
"Set-AzEventHubNamespaceV2": {}
23112346
},
23122347
"Az.FluidRelay": {
23132348
"Get-AzFluidRelayContainer": {},
@@ -3464,6 +3499,7 @@
34643499
"Remove-AzApplicationGatewayAutoscaleConfiguration": {},
34653500
"Set-AzApplicationGatewayAutoscaleConfiguration": {},
34663501
"Get-AzApplicationGatewayAvailableWafRuleSet": {},
3502+
"Get-AzApplicationGatewayWafDynamicManifest": {},
34673503
"Get-AzApplicationGatewayAvailableSslOption": {},
34683504
"Add-AzApplicationGatewayBackendAddressPool": {},
34693505
"Get-AzApplicationGatewayBackendAddressPool": {},
@@ -5126,6 +5162,7 @@
51265162
"New-AzADAppFederatedCredential": {},
51275163
"Remove-AzADAppFederatedCredential": {},
51285164
"Update-AzADAppFederatedCredential": {},
5165+
"Get-AzADOrganization": {},
51295166
"Get-AzResourceProviderAction": {},
51305167
"Get-AzADServicePrincipalCredential": {},
51315168
"New-AzADServicePrincipalCredential": {},
@@ -5369,7 +5406,12 @@
53695406
"Set-AzServiceBusTopic": {},
53705407
"Start-AzServiceBusMigration": {},
53715408
"Stop-AzServiceBusMigration": {},
5372-
"Test-AzServiceBusName": {}
5409+
"Test-AzServiceBusName": {},
5410+
"Get-AzServiceBusNamespaceV2": {},
5411+
"New-AzServiceBusKeyVaultPropertiesObject": {},
5412+
"New-AzServiceBusNamespaceV2": {},
5413+
"Remove-AzServiceBusNamespaceV2": {},
5414+
"Set-AzServiceBusNamespaceV2": {}
53735415
},
53745416
"Az.ServiceFabric": {
53755417
"Add-AzServiceFabricClientCertificate": {},
@@ -5483,6 +5525,14 @@
54835525
"Restart-AzWebPubSub": {},
54845526
"Test-AzWebPubSubNameAvailability": {},
54855527
"Update-AzWebPubSub": {},
5528+
"Get-AzWebPubSubCustomCertificate": {},
5529+
"Get-AzWebPubSubCustomDomain": {},
5530+
"New-AzWebPubSubCustomCertificate": {},
5531+
"New-AzWebPubSubCustomDomain": {},
5532+
"New-AzWebPubSubEventHubEndpointObject": {},
5533+
"New-AzWebPubSubEventNameFilterObject": {},
5534+
"Remove-AzWebPubSubCustomCertificate": {},
5535+
"Remove-AzWebPubSubCustomDomain": {},
54865536
"Test-AzSignalR": {}
54875537
},
54885538
"Az.SpringCloud": {

src/Accounts/Authentication/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
// You can specify all the values or you can default the Build and Revision Numbers
4444
// by using the '*' as shown below:
4545
// [assembly: AssemblyVersion("1.0.*")]
46-
[assembly: AssemblyVersion("2.10.3")]
47-
[assembly: AssemblyFileVersion("2.10.3")]
46+
[assembly: AssemblyVersion("2.10.4")]
47+
[assembly: AssemblyFileVersion("2.10.4")]
4848
#if !SIGN
4949
[assembly: InternalsVisibleTo("Microsoft.Azure.PowerShell.Authentication.Test")]
5050
#endif

src/Accounts/Authenticators/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@
4848
// You can specify all the values or you can default the Build and Revision Numbers
4949
// by using the '*' as shown below:
5050
// [assembly: AssemblyVersion("1.0.*")]
51-
[assembly: AssemblyVersion("2.10.3")]
52-
[assembly: AssemblyFileVersion("2.10.3")]
51+
[assembly: AssemblyVersion("2.10.4")]
52+
[assembly: AssemblyFileVersion("2.10.4")]

src/Accounts/Authenticators/ServicePrincipalAuthenticator.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,14 @@ public override Task<IAccessToken> Authenticate(AuthenticationParameters paramet
4343
var authority = spParameters.Environment.ActiveDirectoryAuthority;
4444

4545
var requestContext = new TokenRequestContext(scopes);
46-
var tokenCachePersistenceOptions = spParameters.TokenCacheProvider.GetTokenCachePersistenceOptions();
46+
// var tokenCachePersistenceOptions = spParameters.TokenCacheProvider.GetTokenCachePersistenceOptions();
4747
AzureSession.Instance.TryGetComponent(nameof(AzureCredentialFactory), out AzureCredentialFactory azureCredentialFactory);
4848

4949
var options = new ClientCertificateCredentialOptions()
5050
{
51-
TokenCachePersistenceOptions = tokenCachePersistenceOptions, // allows MSAL to cache access tokens
51+
// commented due to https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/3218
52+
// todo: investigate splitting user token cache and app token cache
53+
// TokenCachePersistenceOptions = tokenCachePersistenceOptions, // allows MSAL to cache access tokens
5254
AuthorityHost = new Uri(authority),
5355
SendCertificateChain = spParameters.SendCertificateChain ?? default(bool)
5456
};
@@ -67,7 +69,7 @@ public override Task<IAccessToken> Authenticate(AuthenticationParameters paramet
6769
//Service principal with secret
6870
var csOptions = new ClientSecretCredentialOptions()
6971
{
70-
TokenCachePersistenceOptions = tokenCachePersistenceOptions, // allows MSAL to cache access tokens
72+
// TokenCachePersistenceOptions = tokenCachePersistenceOptions, // allows MSAL to cache access tokens
7173
AuthorityHost = new Uri(authority)
7274
};
7375
tokenCredential = azureCredentialFactory.CreateClientSecretCredential(tenantId, spParameters.ApplicationId, spParameters.Secret, csOptions);

0 commit comments

Comments
 (0)