File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/Storage/Storage.Management/StorageAccount Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -420,7 +420,7 @@ public override void ExecuteCmdlet()
420
420
421
421
if ( AssignIdentity . IsPresent )
422
422
{
423
- createParameters . Identity = new Identity ( ) ;
423
+ createParameters . Identity = new Identity ( ) { Type = IdentityType . SystemAssigned } ;
424
424
}
425
425
if ( NetworkRuleSet != null )
426
426
{
Original file line number Diff line number Diff line change @@ -421,7 +421,7 @@ public override void ExecuteCmdlet()
421
421
422
422
if ( AssignIdentity . IsPresent )
423
423
{
424
- updateParameters . Identity = new Identity ( ) ;
424
+ updateParameters . Identity = new Identity ( ) { Type = IdentityType . SystemAssigned } ;
425
425
}
426
426
427
427
if ( StorageEncryption || ( ParameterSetName == KeyvaultEncryptionParameterSet ) )
You can’t perform that action at this time.
0 commit comments