Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
442 commits
Select commit Hold shift + click to select a range
b3dfc3d
{AKS} Add test case for cluster auto scaler (#22451)
FumingZhang May 17, 2022
c7f106b
[Compute] `az disk create/update`: Add new parameter `--data-access-a…
Jing-song May 17, 2022
b9b4f92
[ARM] `az group delete`: Add new parameter `--force-deletion-types` t…
tjegbejimba May 18, 2022
606610c
[Storage] `az storage directory/file list`: Add `--exclude-extended-i…
evelyn-ys May 18, 2022
7c48c7a
[RDBMS] Change MySQL MemoryOptimized tier name to BusinessCritical (#…
DaeunYim May 18, 2022
215960c
[ARM] `az bicep restore`: Add new command to restore external modules…
shenglol May 18, 2022
76faac6
[HDInsight] Migrate adal graph sdk to msgraph sdk in HDInsight module…
aim-for-better May 18, 2022
73dde70
[Storage] Fix #21781 `az storage blob upload/download`: Progress fix …
calvinhzy May 18, 2022
bb31a77
{Compute} `az vmss create`: Add hint to suggest Standard lb (#22340)
cxznmhdcxz May 18, 2022
c08d828
[AKS] `az aks update`: Add support for updating kubelet identity with…
FumingZhang May 18, 2022
2179aa7
[Compute] `az sig show`: Add new parameters `--sharing-groups` to sup…
Jing-song May 18, 2022
6df00b6
{Identity} Bump up `azure-mgmt-msi` version to `2021-09-30-preview` (…
Jing-song May 18, 2022
33145d1
{Network} Bump azure-mgmt-network from 19.3.0 to 20.0.0 (#22487)
necusjz May 18, 2022
030d293
{Monitor} `az monitor`: remove deprecated commands and parameters (#2…
kairu-ms May 18, 2022
ddd9a2d
[ACR] Fix: various bug fixes (#22497)
mabenedi May 18, 2022
452bfc9
{AKS} az aks enable-addons: Update message sample for --appgw-subnet-…
epomatti May 18, 2022
2e524a3
[ARM] `az resource wait`: Fix `--created` keeps waiting even when `az…
zhoxing-ms May 18, 2022
35456d5
{Compute} `az vm/vmss application set`: improve `--order-applications…
cxznmhdcxz May 18, 2022
9dabada
{API Management} Fix documentation for `apply-network-updates` comman…
arhaverly May 18, 2022
a7d5d6d
Changed product name per request of Ben Mansheim (#22475)
dbradish-microsoft May 18, 2022
e97be24
Adding Microsoft SECURITY.MD (#22513)
microsoft-github-policy-service[bot] May 19, 2022
4f1e948
[IOT] Test updates for beta branch (#22262)
vilit1 May 19, 2022
dc40d90
[SQL VM] `az sql vm update`: Add configuration options for SQL Best P…
vadeveka May 19, 2022
55299d5
{packaging} Update to jsondiff 2.0.0 (#22017)
major May 19, 2022
aa92f07
[Storage] `az stroage entity query`: Fix UUID type is not JSON seria…
jonie001 May 19, 2022
e1864b0
[Network] `az network lb address-pool`: Support connection draining o…
necusjz May 19, 2022
f54e4db
[Service Fabric] `az sf cluster node-type add`: Fix the unexpected er…
a-santamaria May 19, 2022
6556b6d
add has_value (#22517)
kairu-ms May 19, 2022
d618065
{local-context} Remove `local-context` command group (#22471)
jiasli May 19, 2022
2aa9351
Merge remote-tracking branch 'azure/main' into dev
jiasli May 19, 2022
bb54d36
[Keyvault] Fix#22457: `az keyvault key decrypt/encrypt`: Fix returnin…
jonie001 May 19, 2022
2b67eeb
[Storage] BREAKING CHANGE: Fix #22261 #22240: `az storage blob snapsh…
calvinhzy May 19, 2022
b9434bb
[Network] Update application gateway (#22489)
ZengTaoxu May 19, 2022
edf4fc1
Fix issue for next_link. It may come from the response of post method…
kairu-ms May 19, 2022
f2c085b
[Compute] `az vm host group create`: Add new parameter `--ultra-ssd-e…
Jing-song May 19, 2022
718d83a
[Identity] `az identity list-resources`: Add new command to support l…
Jing-song May 19, 2022
3dbcafb
{Role} Raise `GraphError` only when Graph request fails (#22523)
jiasli May 19, 2022
a179344
[Core] Support getting SSH certificate inside Cloud Shell (#22162)
rayluo May 19, 2022
efda127
{Compute} `az vm deallocate`: Update help message (#22146)
paul-williamson-swoop May 20, 2022
279fa78
{Docs} Correct 'Bicep' typo'd as 'Bicpe' in what-if (#22533)
bolte-17 May 20, 2022
52ceb02
[IoT] Add private link and private end point paramaters to IoT Centra…
hmmorales May 20, 2022
5c92d6c
{Network} `az network`: Remove deprecated parameters (#22522)
necusjz May 20, 2022
0d71b50
{Release} Upgrade to Azure CLI 2.37.0 (#22538)
azclibot May 20, 2022
23b944a
{Keyvault} Fix #22540: Create keyvault with service principal (#22543)
jiasli May 20, 2022
1eabac2
[ACR] az acr: Show replication region endpoint status in table output…
junczhu May 20, 2022
62a01da
{AKS} Let AKS RP handle validation of setting pod CIDR and network pl…
tyler-lloyd May 21, 2022
0c6bd3e
{AzureRedisCache} Fix the --set shardCount parameter (#22524)
navba-MSFT May 23, 2022
913767e
{Graph} Build base URL correctly for sovereign clouds (#22565)
jiasli May 23, 2022
f638ee9
Merge branch 'release' into dev
jiasli May 24, 2022
f2b5dbc
[Network] `az network application-gateway ssl-policy`: Support new SS…
kaushik-ms May 24, 2022
a75dcca
{CI} Keep the logic consistent with generate_history_notes.py, always…
wangzelin007 May 24, 2022
710c821
{Graph} Make `msgraph` internal and add documentation for `GraphClien…
jiasli May 24, 2022
284d613
{Network} `az network application-gateway ssl-policy`: Support new SS…
kaushik-ms May 25, 2022
b33939c
Bump Jinja2 to 3.0.3 (#22602)
kairu-ms May 25, 2022
f4e2a67
Bump pyjwt from 2.1.0 to 2.4.0 in /src/azure-cli (#22601)
dependabot[bot] May 25, 2022
02cb00e
{AKS} Fix aks byo appgw test case (#22608)
FumingZhang May 25, 2022
9156768
[Storage] `az storage account generate-sas`: Fix output sas has rando…
evelyn-ys May 26, 2022
d3bff5f
{.github} Add CODEOWNERS for CDN (#22627)
kairu-ms May 26, 2022
71d478f
{CDN} Deprecate CDN WAF related commands (#22544)
t-bzhan May 26, 2022
5e8618d
[Storage] BREAKING CHANGE: `az storage share close-handle`: Remove `-…
calvinhzy May 27, 2022
6be96de
[Compute] `az disk create/update`: Fix `--encryption-type` processing…
cxznmhdcxz May 27, 2022
a7c39bc
[Keyvault] `az keyvault role assignment`: Fix `'dict' object has no a…
evelyn-ys May 31, 2022
8e7c613
{Graph} az aro module migration to Microsoft Graph (#22549)
nwnt May 31, 2022
63d0284
{App Service} Fix typo github, Github to GitHub in the help message (…
RakeshMohanMSFT Jun 1, 2022
191ba34
{Batch} Update Azure Batch registration for private endpoint connecti…
lilinvictorms Jun 1, 2022
bb84765
[Backup] `az backup restore restore-disks`: Add Cross Subscription Re…
akshayneema Jun 1, 2022
e65c5f5
[Compute] `az sig image-version create`: Add new parameters `--virtua…
yanzhudd Jun 1, 2022
05c00f9
{App Config} Fix #22529: Remove export file in test (#22644)
bebound Jun 1, 2022
8884d6c
{API Management} Add Arg Type to Product Create Command (#22368)
arhaverly Jun 2, 2022
fab6ffa
fix storage blob upload encode error (#22611)
jonie001 Jun 2, 2022
1bede36
{storage} `az storage blob metadata/copy/service-properties`: Migrate…
bebound Jun 2, 2022
8bfeae3
[Network] Enable Private Link support for provider `Microsoft.Authori…
Vishakha-Git Jun 2, 2022
963bae7
[Network] Fix #22097: `az network dns zone import` cannot import zone…
YuanyuanNi Jun 2, 2022
ba62023
{CI} update service team feature request template (#22696)
wangzelin007 Jun 2, 2022
eed16aa
[Network] `az network public-ip prefix create`: Support cross-subscri…
necusjz Jun 2, 2022
2f44497
[Network] `az network public-ip create`: Reuse prefix info when creat…
necusjz Jun 2, 2022
1793c03
{AKS} Graph module migration (#22649)
FumingZhang Jun 2, 2022
b471cca
{Graph} Remove the warning for Microsoft Graph migration (#22612)
jiasli Jun 3, 2022
22bd245
[Packaging] Use Python 3.9 in RHEL 8's RPM (#22606)
jiasli Jun 3, 2022
f5db5e6
[ARM] `az bicep build`: Fix #22621: `--stdout` does not work (#22685)
shenglol Jun 4, 2022
4f55105
{Core} `aaz`: fix issue in load_aaz_command_table for azdev and CI (#…
kairu-ms Jun 6, 2022
83c7d50
fix icm 311436712. Support count 0 in update command (#22678)
kairu-ms Jun 6, 2022
cb3793a
[Security] `az security atp cosmosdb`: Add CLI support for ATP settin…
HaimBendanan Jun 6, 2022
2a7f016
[Core] shorthand syntax: Simplify the escape character usage in Singl…
kairu-ms Jun 7, 2022
6da3ae9
{Keyvault} `az keyvault key set-attributes`: Make `--policy` required…
evelyn-ys Jun 7, 2022
34d54ee
{Cognitive Services} Fix #22545: `az cognitiveservices account identi…
bebound Jun 7, 2022
b413ed4
[Storage] Fix #20452: `az storage container policy create\update\list…
calvinhzy Jun 7, 2022
fa8b6ed
[Storage] `az storage account file-service-properties update`: Fix `A…
evelyn-ys Jun 7, 2022
7b770dc
{Docs} Remove unnecessary code owner for doc (#22762)
jsntcy Jun 8, 2022
59ca6ec
support private endpoint (#22759)
xfz11 Jun 8, 2022
fb8e585
[Service Fabric] az sf managed-cluster create: Fix tag parsing for cl…
LukeSlev Jun 8, 2022
199a43c
{doc} Add `Scenario Test Best Practice` section in `authoring_tests` …
kairu-ms Jun 8, 2022
afc06f4
{Compute} az vm encryption enable: fix help message (#22779)
cxznmhdcxz Jun 8, 2022
b5d3374
{Packaging} Bump azure-core from 1.21.1 to 1.24.0 (#22676)
ZengTaoxu Jun 9, 2022
50f4bc0
{Storage} Migrate storage file share to track2 (#22585)
jonie001 Jun 9, 2022
14f3905
{Graph} Remove unnecessary logic from `MSGraphClientPasswordReplacer`…
jiasli Jun 9, 2022
07ae0e3
[Backup] `az backup protection enable-for-vm`: Add a linux specific e…
akshayneema Jun 9, 2022
57d14ba
{Computue} `az vmss create`: Update VMSS instances for Trusted Launch…
Jing-song Jun 10, 2022
94675d0
[Cognitive Services] Update SDK and fix an optional parameter (#22827)
yangyuan Jun 10, 2022
09f1b0e
[AKS] az aks get-credentials: Fix permission prompt when saving confi…
FumingZhang Jun 10, 2022
b61027f
{Compute} az vm application: Fix typo in vm help message (#22836)
epomatti Jun 11, 2022
5a1a69d
{Packaging} Bump msrest from 0.6.21 to 0.7.0 (#22823)
ZengTaoxu Jun 13, 2022
94a9004
{Storage} `az storage file delete/resize/url/generate-sas/show/update…
calvinhzy Jun 13, 2022
7188f99
fix some known issues (#22822)
houk-ms Jun 13, 2022
4680da7
[Role] `az ad app/sp update`: Support generic update `--set` on root …
jiasli Jun 13, 2022
c73642c
{Network} Fix #22846: Typo "Azure bastion" to "Azure Bastion" (#22849)
RakeshMohanMSFT Jun 13, 2022
e348ddf
[AKS] `az aks command invoke`: Add support for `--no-wait` (#22813)
FumingZhang Jun 13, 2022
430aac4
[SQL VM] `az sql vm update`: Add configuration options for SQL Assess…
vadeveka Jun 13, 2022
b62440c
{Role} `az ad app permission add`: Refine error message for incorrect…
jiasli Jun 13, 2022
038f3c1
{Bicep} Update the URL for Bicep downloads link (#22793)
davidcho23 Jun 14, 2022
95a19f4
{Compute} Bump up azure-mgmt-compute SDK to 27.1.0 (#22859)
Jing-song Jun 14, 2022
2591276
[Graph] Support special characters in object names (#22739)
jiasli Jun 14, 2022
6ca46e9
{Storage} `az storage file metadata/copy`: Track2 SDK Migration (#22824)
calvinhzy Jun 14, 2022
e266dbd
{AKS} Sort out parameter declarations (#22863)
FumingZhang Jun 14, 2022
a1b418c
{CI} Fix the bug that live test does not generate the latest index.ht…
wangzelin007 Jun 15, 2022
b599df6
{CI} Migrate fabric bot from portal to config-as-code (#22861)
wangzelin007 Jun 15, 2022
fde406f
[App Config] `az appconfig`: GA features - soft-delete, feature-filte…
pratiksanglikar Jun 15, 2022
abce081
[SQL] `az sql elastic-pool create`: Add support for HighAvailabilityR…
christianvalencia7 Jun 16, 2022
cabcd93
{Storage} Migrate `az storage file upload/upload-batch` to track2 sdk…
jonie001 Jun 16, 2022
8975afc
{Doc} Update try_new_features_before_release.md (#22872)
jiasli Jun 16, 2022
9c4b8be
{Packaging} Bump Python version to 3.10.5 (#22864)
jiasli Jun 16, 2022
02c4aba
Fix for #22690 - fix location retreaval from resource group (#22787)
Jun 16, 2022
cdf5efc
fix typo: global-placement-rules (#22915)
nils-a Jun 17, 2022
33cbd01
[AD] `az ad app federated-credential`: Support federated identity cre…
jiasli Jun 17, 2022
7f08bb9
fix bug when argument has default value (#22922)
kairu-ms Jun 17, 2022
9f37f95
{CI} Remove duplicate automation tests (#22880)
wangzelin007 Jun 18, 2022
c2cdc33
[Compute] `az vm`: Support a new disk storage SKU Premiumv2_LRS (#22851)
wangzelin007 Jun 18, 2022
4fbacd3
[Backup] `az backup protectable-item list`: SQLAG container fetch fai…
akshayneema Jun 20, 2022
5e999e4
[Compute] `az sig`: Add new command groups to support managing commun…
Jing-song Jun 20, 2022
42d8151
[Compute] `az sig gallery-application version`: Add new parameters `-…
D1v38om83r Jun 21, 2022
6786b50
{AKS} Remove deprecated code (#22948)
FumingZhang Jun 21, 2022
d7fddb9
{Network} Azure Bastion integrating azure cli with RG gateway (#22943)
aavalang Jun 22, 2022
69e79fd
[ACR] Added timestamp and logs when sending HTTP requests in ACR modu…
raymondluo1 Jun 22, 2022
b0be4f5
{Compute} az snapshot create: incremental snapshot should use CreateO…
Jing-song Jun 22, 2022
3fa8af4
[Compute] `az disk create`: `--gallery-image-reference` adds support …
yanzhudd Jun 22, 2022
fbe4366
[App Service] Fix #22722: az webapp config ssl import fixes to suppor…
panchagnula Jun 22, 2022
1a71ed4
{Core} `aaz`: Fill and verify the required property in request conten…
kairu-ms Jun 22, 2022
b3b65e5
fix a bug when using serialized_name of required property (#22963)
kairu-ms Jun 22, 2022
b7b6e79
{Compute} Add scenario tests using Debian image (#22964)
cxznmhdcxz Jun 22, 2022
ce74ae3
updated experiemental flag (#22971)
yingru97 Jun 23, 2022
283047f
{Core} `aaz`: fix nullable argument behaviors. (#22970)
kairu-ms Jun 23, 2022
b715f4c
Correct the word summary (#22980)
kairu-ms Jun 23, 2022
d9f732a
[Compute] `az disk create`: `--source` add support for creating a dis…
ReaNAiveD Jun 23, 2022
c22c665
{Core} `aaz`: optimize argument help messages for shorthand syntax. (…
kairu-ms Jun 24, 2022
535a83e
[AKS] `az aks get-credentials`: Fix the command error when KUBECONFIG…
FumingZhang Jun 24, 2022
3d4ed6a
[Compute] `az vm/vmss application set`: Add new parameter `--treat-de…
D1v38om83r Jun 24, 2022
f723a86
Update CODEOWNERS (#22998)
kairu-ms Jun 24, 2022
9bed876
fix AAZObjectType get_discriminator (#23012)
kairu-ms Jun 24, 2022
c80c730
[NetAppFiles] Update azure-mgmt-netapp version to 8.0.0 (#23008)
Jun 27, 2022
7ee3b96
[Compute] `az vm image list`: Add parameter `--architecture` to filte…
ReaNAiveD Jun 27, 2022
ca8c293
{monitor} `az monitor log-analytics query-pack`: Add new commands (#2…
kairu-ms Jun 27, 2022
6bd87c5
remove client type limite in spring (#23006)
ChenTanyi Jun 27, 2022
0ef6c9f
{Network} Desensitize tests for private link `Microsoft.Cache/Redis` …
necusjz Jun 27, 2022
53d1f59
return value patch when process value is a patch (#23031)
kairu-ms Jun 27, 2022
719e678
[Bot Service] BREAKING CHANGE: `az bot create` change: Remove `--kind…
Jun 28, 2022
0356640
[Search] `az search service create`: Add `--hosting-mode` argument to…
mattgotteiner Jun 28, 2022
5025de4
{sql} Update sample for action parameter (#22982)
RakeshMohanMSFT Jun 28, 2022
8058c09
{AMS} Migrate AMS module to new Microsoft graph (#22703)
hivyas Jun 28, 2022
ff525fa
{SQL VM} Update Python SDK to 1.0.0b3 (#23035)
vadeveka Jun 28, 2022
56aef2b
[RDBMS] Fix #22926: az mysql server create/update: Update default val…
PramodValavala-MSFT Jun 28, 2022
11eacf0
{Docs} Fix query syntax for az provider list command (#22632)
IvanBodnya Jun 28, 2022
f4e455c
[Network] BREAKING CHANGE: `az network vnet subnet create`: Disable `…
necusjz Jun 28, 2022
323322e
[App Service] Fix #22117: `az webapp up`: Fix `--runtime` ignored whe…
StrawnSC Jun 28, 2022
9e22165
[App Service] `az staticwebapp enterprise-edge`: Move command group f…
StrawnSC Jun 28, 2022
bdf2a8f
[App Service] `az appservice plan create`: Fix #22332 (#22820)
StrawnSC Jun 28, 2022
f657846
{App Service} az webapp create/up: Remove mentions of powershell and …
StrawnSC Jun 28, 2022
94eaa3a
[IoT] `az iot hub/dps certificate list`: Add table transform to certi…
vilit1 Jun 28, 2022
50f0fcd
{AKS} Monitoring addon MSI auth - update API version for DCR and stre…
ganga1980 Jun 28, 2022
eff3dd8
{ARM} `az provider list`: Add double quotes for --query in the help e…
DeadPoolHeartsRR Jun 28, 2022
2ced925
{AKS} Fix #23044: az aks update: Fix example using --aks-custom-heade…
PramodValavala-MSFT Jun 28, 2022
496e280
[ARM] Fix #22930: `az bicep generate-params`: Add support for bicep g…
PramodValavala-MSFT Jun 29, 2022
e894197
[App Service] Fix #20901: `az functionapp update`: Update `--slot` lo…
runefa Jun 29, 2022
ac1759b
[AKS] `aks nodepool stop/start`: Add nodepool stop/start bindings (#2…
rsamigullin Jun 29, 2022
1602622
{servicebus} Fix error message raised on a malformed ISO-8601 duratio…
RakeshMohanMSFT Jun 29, 2022
0b3493c
{Doc} Add telemetry doc (#22689)
evelyn-ys Jun 29, 2022
8917966
{Doc} Fix `az storage` typo (#22912)
dbradish-microsoft Jun 29, 2022
a59d50e
[Synapse] `az synapse sql create`: Add parameter "collation" (#22874)
kevinzz6 Jun 29, 2022
262799b
[Keyvault] Fix #16390: `az keyvault set-policy`: Allow clear permissi…
evelyn-ys Jun 29, 2022
43f2c39
[ARM] az deployment: Fix the error message of ARM deployment to the c…
zhoxing-ms Jun 29, 2022
1a1a2dc
[Compute] `az disk create` &`az disk-encryption-set create`: Support …
cxznmhdcxz Jun 29, 2022
172b5f3
[EventHub] `az eventhubs namespace application-group`: New command gr…
damodaravadhani Jun 30, 2022
d5514f3
[Cosmos DB] Add support to create containers with client encryption p…
kr-santosh Jun 30, 2022
93d2b3b
[Storage] Fix #22845: `az storage account genarete-sas`: Fix the flag…
jonie001 Jun 30, 2022
415c45b
[sql] `az sql midb update`: Add update command (#22790)
milanbrkic-ms Jun 30, 2022
4e5d3cc
[Compute] `az disk-encryption-set`: Add parameter `--federated-client…
yanzhudd Jun 30, 2022
8e2c19d
[ACR] Fix Azure/acr#613: `az acr task run`: Add dockerfile to source …
oterno Jun 30, 2022
c72cdaf
[APIM] `az apim deletedservice`: Add command group to support managin…
yingru97 Jun 30, 2022
9605cbd
[Compute] `sig list-community`: Add new command to support listing co…
zhoxing-ms Jun 30, 2022
3038f15
update doc for shorthand_syntax.md (#22976)
kairu-ms Jun 30, 2022
c6636e9
[Rest] `az rest`: Support Unicode characters in JSON request body
jiasli Jun 30, 2022
75a6af8
[Synapse] `az synapse link-connection`: New command group to support …
kevinzz6 Jun 30, 2022
44b8c11
{Core} Capture `SSLError` raised by Track 2 SDKs (#23074)
jiasli Jun 30, 2022
50052e2
[Compute] `az vm/vmss create`: Support OS disk encryption for Confide…
Jing-song Jun 30, 2022
13da3d3
{CI} Update milestone from Jun 2022 (2022-07-05) to Jul 2022 (2022-08…
wangzelin007 Jul 1, 2022
a425e28
[Compute] Support trusted launch for disk (#23026)
zhoxing-ms Jul 1, 2022
dcd5017
{rdbms} | None is compared as 'None' (#23009)
RakeshMohanMSFT Jul 1, 2022
b475906
{Release} Upgrade to Azure CLI 2.38.0 (#23086)
azclibot Jul 1, 2022
91af333
[Core] `az extension add`: Improve feedback shown to users when insta…
kdestin Jul 1, 2022
57b0d5e
fix aaz command --no-wait issue (#23092)
kairu-ms Jul 4, 2022
75c78f1
{CI} Drop Python 3.6 tests (#20865)
jiasli Jul 4, 2022
1653548
[Packaging] Drop CentOS 7 RPM package (#23047)
jiasli Jul 4, 2022
9a6baa9
[AKS] Fix snapshot not resolved according to the subscriptions field …
FumingZhang Jul 5, 2022
7d041e3
[AKS] `az aks check-acr`: Bump canipull to v0.1.0 to add 5s wait to a…
fseldow Jul 5, 2022
154d030
[AKS] `az aks update`: Fix the issue of `NoneType` error when updatin…
FumingZhang Jul 5, 2022
c5a87f8
[Packaging] Drop Python 3.6 support (#23102)
jiasli Jul 5, 2022
44c3134
[Network] `az network vnet subnet list-available-ips`: Get list of av…
ZengTaoxu Jul 5, 2022
ccdf7ed
{Misc.} Refomat azure pipeline yaml files (#23112)
bebound Jul 5, 2022
74e9609
{AKS} Monitoring addon MSI auth - Remove unused ContainerInsights Sol…
ganga1980 Jul 6, 2022
5abef23
[Storage] `az storage fs undelete-path`: Encode `--deleted-path-name`…
calvinhzy Jul 7, 2022
99731af
[Packaging] Build RPM for Fedora (#22945)
bebound Jul 7, 2022
6347220
[Core] `aaz`: Feature Atomic Azure Command support argument validatio…
kairu-ms Jul 7, 2022
d429a0c
{RDBMS} Restoring a flexible server in another resource is currently …
RakeshMohanMSFT Jul 8, 2022
584e838
{Core} `aaz`: optimize error display in argument validation (#23164)
kairu-ms Jul 11, 2022
ecfbedb
{AzureBilling} fix #23097 (#23099)
navba-MSFT Jul 11, 2022
f7133cb
[App Service] Fix #23135: `az functionapp plan create`: Add validatio…
RakeshMohanMSFT Jul 11, 2022
63f9c99
[Network] `az network private-endpoint-connection`: Enable private li…
anagg929 Jul 12, 2022
0782ea6
[AKS] Remove warning message when using "BYO vnet + system MSI" (#23080)
norshtein Jul 12, 2022
c0aa8c4
[Compute] `az ppg create/update`: Add parameter `--intentvmsizes` to …
yanzhudd Jul 12, 2022
b6b5cbf
[Network] `az network private-endpoint-connection`: Enable private li…
MSGaryWang Jul 13, 2022
0229edc
[ACR] BREAKING CHANGE: Update manifest list-referrers to comply with …
mabenedi Jul 13, 2022
cc6e5ce
[Compute] Fix #22995: `az image-version create`: Unbind the usage of …
Jing-song Jul 13, 2022
4861021
[EventHub] az eventhubs namespace create: Add MinTls to EventHub cmdl…
damodaravadhani Jul 13, 2022
6545291
[Compute] Fix #22654: az vm/vmss run-command: Fix the bug that --prot…
yanzhudd Jul 14, 2022
33ef1d4
add new client type for spring (#23136)
xfz11 Jul 14, 2022
dbb075c
[AKS] Fix the bug related to AKS Monitoring MSI auth when the locatio…
ganga1980 Jul 14, 2022
79ddbf0
[Batch] Upgrade api-version to v2022-06-01, adding 'batch account net…
wiboris Jul 15, 2022
48952e2
[Network] `az network dns zone export`: Add support for ALIAS record …
fayazshaik7 Jul 15, 2022
f23ce08
Update CODEOWNERS (#23229)
kairu-ms Jul 18, 2022
274936f
[Core] `aaz`: Implement wait command (#23189)
kairu-ms Jul 18, 2022
a93bea6
[Storage] Fix #23179: `az storage file upload/upload-batch`: Fix `--c…
bebound Jul 18, 2022
6b67cd1
[AKS] Fix #2457: Clarify subnet id description to resource id (#23234)
RakeshMohanMSFT Jul 18, 2022
81faad8
regenerate by antlr 4.9.3 (#23233)
kairu-ms Jul 19, 2022
3ee2f78
[ARM] Fix #23246 : Fix interchanged policy samples (#23250)
RakeshMohanMSFT Jul 19, 2022
cd8bf51
[Storage] `az storage blob/file update`: Fix `--content-md5` TypeErro…
bebound Jul 19, 2022
5ce15ee
{core} Upgrade azure-mgmt-core to 1.3.1 (#23254)
jsntcy Jul 19, 2022
c83bb17
[Compute] `az vmss create`: Add new parameters `--os-disk-delete-opti…
Jing-song Jul 20, 2022
ab2fc13
{SQL} Fix #15772: Fix a minor typo (#23241)
RakeshMohanMSFT Jul 20, 2022
5037375
{SQL} Fix #15773: Fix minor typo (#23240)
RakeshMohanMSFT Jul 20, 2022
fad2358
{SQL} Fix #17941: Fix minor typo (#23239)
RakeshMohanMSFT Jul 20, 2022
3bf60e8
[Profile] `az account list`: Add `TenantId` column to table output (#…
jiasli Jul 20, 2022
75129a1
{Storage} Fix #21073: Fix minor typo (#23238)
RakeshMohanMSFT Jul 20, 2022
a931eff
[Keyvault] `az keyvault security-domain upload`: Fix `password must b…
evelyn-ys Jul 20, 2022
2463aa8
[EventGrid] Add commands for partner and event-subscription customer …
Brandon411 Jul 20, 2022
68c8982
{Synapse}az synapse managed-private-endpoints create: Add definition…
kevinzz6 Jul 20, 2022
fb2ce7b
[Synapse] `az synapse workspace`: Add `--last-commit-id` for git repo…
kevinzz6 Jul 20, 2022
18b51f3
{synapse} az synapse module migration to Microsoft Graph (#23098)
kevinzz6 Jul 20, 2022
f31628b
{Network} `az network security-partner-provider`: Migrate to CodeGen …
necusjz Jul 20, 2022
0d8b4ab
{Core} `aaz`: Improve shorthand syntax (#23268)
kairu-ms Jul 20, 2022
262009b
{Network} `az network asg`: Migrate to CodeGen v2 (#23166)
necusjz Jul 20, 2022
ad6c211
{ACS} Fix #16170: Add missing semicolon (#23269)
RakeshMohanMSFT Jul 20, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
{synapse} az synapse module migration to Microsoft Graph (Azure#23098)
* make changes to use ms graph

* fix comment

* fix test issue

* fix pipeline test issue

* remove unused error

* fix style error

* fix wrong usage
  • Loading branch information
kevinzz6 authored Jul 20, 2022
commit 18b51f3c87bf35289b1d5b91e40fb3356e4eb781
Original file line number Diff line number Diff line change
Expand Up @@ -152,16 +152,9 @@ def cf_synapse_role_definitions(cli_ctx, workspace_name):


def cf_graph_client_factory(cli_ctx, **_):
from azure.cli.core._profile import Profile
from azure.cli.core.commands.client_factory import configure_common_settings
from azure.graphrbac import GraphRbacManagementClient
profile = Profile(cli_ctx=cli_ctx)
cred, _, tenant_id = profile.get_login_credentials(
resource=cli_ctx.cloud.endpoints.active_directory_graph_resource_id)
client = GraphRbacManagementClient(cred, tenant_id,
base_url=cli_ctx.cloud.endpoints.active_directory_graph_resource_id)
configure_common_settings(cli_ctx, client)
return client
from azure.cli.command_modules.role import graph_client_factory
graph_client = graph_client_factory(cli_ctx)
return graph_client


def cf_synapse_client_artifacts_factory(cli_ctx, workspace_name):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
from knack.util import CLIError
from azure.cli.core.azclierror import InvalidArgumentValueError, ArgumentUsageError
from azure.cli.core.util import is_guid
from azure.graphrbac.models import GraphErrorException
from msrestazure.azure_exceptions import CloudError
from azure.cli.command_modules.role import GraphError
from .._client_factory import cf_synapse_role_assignments, cf_synapse_role_definitions, cf_graph_client_factory
from ..constant import ITEM_NAME_MAPPING
import azure.cli.command_modules.synapse.custom_help as cust_help
Expand Down Expand Up @@ -121,12 +120,12 @@ def _resolve_object_id(cmd, assignee, fallback_to_object_id=False):
client = cf_graph_client_factory(cmd.cli_ctx)
result = None
try:
result = list(client.users.list(filter="userPrincipalName eq '{0}' or mail eq '{0}' or displayName eq '{0}'"
.format(assignee)))
result = list(client.user_list(filter="userPrincipalName eq '{0}' or mail eq '{0}' or displayName eq '{0}'"
.format(assignee)))
if not result:
result = list(client.service_principals.list(filter="displayName eq '{}'".format(assignee)))
result = list(client.service_principal_list(filter="displayName eq '{}'".format(assignee)))
if not result:
result = list(client.groups.list(filter="mail eq '{}'".format(assignee)))
result = list(client.group_list(filter="mail eq '{}'".format(assignee)))
if not result and is_guid(assignee): # assume an object id, let us verify it
result = _get_object_stubs(client, [assignee])

Expand All @@ -141,20 +140,20 @@ def _resolve_object_id(cmd, assignee, fallback_to_object_id=False):
"Please using --assignee-object-id GUID to specify assignee accurately"
.format(assignee=assignee))

return result[0].object_id
except (CloudError, GraphErrorException):
return result[0]["id"]
except GraphError:
if fallback_to_object_id and is_guid(assignee):
return assignee
raise


def _get_object_stubs(graph_client, assignees):
from azure.graphrbac.models import GetObjectsParameters
result = []
assignees = list(assignees) # callers could pass in a set
for i in range(0, len(assignees), 1000):
params = GetObjectsParameters(include_directory_object_references=True, object_ids=assignees[i:i + 1000])
result += list(graph_client.objects.get_objects_by_object_ids(params))
body = {"ids": assignees[i:i + 1000],
"types": ['user', 'group', 'servicePrincipal', 'directoryObjectPartnerReference']}
result.extend(list(graph_client.directory_object_get_by_ids(body)))
return result


Expand Down
Loading