Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New-AzResourceGroupDeployment : Unexpected character encountered while parsing value: @. Path '', line 0, position 0. At line:1 char:1 #15959

Closed
StutiSri opened this issue Dec 28, 2024 · 10 comments

Comments

@StutiSri
Copy link

PS C:\Users\stsrivastava> New-AzResourceGroupDeployment -ResourceGroupName ImpactRP-DEVTEST-Infra-Common -TemplateFile "C:\Users\stsrivastava\OneDrive - Microsoft\Projects\AzImpactRP\deploy\release-scripts\scripts\provisioning/templates/test.bicep" -Debug -Verbose
DEBUG: 10:35:20 AM - NewAzureResourceGroupDeploymentCmdlet begin processing with ParameterSet
'ByTemplateFileWithNoParameters'.

Confirm
Continue with this operation?
[Y] Yes [A] Yes to All [H] Halt Command [S] Suspend [?] Help (default is "Y"): A
DEBUG: 10:35:30 AM - using account id '[email protected]'...
DEBUG: 10:35:30 AM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [], Cmdlet = [].
Returning default value [True].

Confirm
Are you sure you want to perform this action?
Performing the operation "Creating Deployment" on target "ImpactRP-DEVTEST-Infra-Common".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): A
Redacted info related to login
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: '72f988bf-86f1-41af-91ab-2d7cd011db47',
UserId: '[email protected]'
DEBUG: 10:35:34 AM - [ConfigManager] Got [False] from [EnableDataCollection], Module = [], Cmdlet = [].

Confirm
Unexpected character encountered while parsing value: @. Path '', line 0, position 0.
[Y] Yes [A] Yes to All [H] Halt Command [S] Suspend [?] Help (default is "Y"): A
New-AzResourceGroupDeployment : Unexpected character encountered while parsing value: @. Path '', line 0, position 0.
At line:1 char:1

  • New-AzResourceGroupDeployment -ResourceGroupName ImpactRP-DEVTEST-Inf ...
  •   + CategoryInfo          : CloseError: (:) [New-AzResourceGroupDeployment], JsonReaderException
      + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDep
     loymentCmdlet
    
    

DEBUG: 10:35:42 AM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [], Cmdlet = [].
Returning default value [True].
DEBUG: 10:35:42 AM - NewAzureResourceGroupDeploymentCmdlet end processing.

Powershell Version

PS C:\Users\stsrivastava> $PSVersionTable

Name Value


PSVersion 5.1.26100.2161
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.26100.2161
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

bicep version
PS C:\Users\stsrivastava> bicep --version
TRACE: Bicep version: 0.32.4+b326faa456, CLI arguments: "--version"
Bicep CLI version 0.32.4 (b326faa)
PS C:\Users\stsrivastava>

Az.Resources Version

PS C:\Users\stsrivastava> Get-InstalledModule -Name Az.Resources

Version Name Repository Description


7.7.0 Az.Resources PSGallery Microsoft Azure PowerShell - Azure Resource Manager and Active Directory cmdlets in Windows PowerShell and PowerShell Core. Manages subs.

The solutions mentioned here didnt help: #3140

I am able to deploy this template successfully using Az CLI.

@jeskew
Copy link
Member

jeskew commented Dec 31, 2024

Is the Az CLI using the same version? It maintains its own copy, and you can query the verison with az bicep version.

@majastrz
Copy link
Member

Would you be able to share a minimal template that reproduces the issue?

@majastrz majastrz added the Needs: Author Feedback Awaiting feedback from the author of the issue label Jan 15, 2025
@StutiSri
Copy link
Author

The below content reproduces the issue

@description('Location to deploy resources to. Eg. westus2, eastus, central us')
param location string = resourceGroup().location

@description('Name of the ACR managed identity')
param acrManagedIdentityName string

@description('Create managed identity to be used by AKS to pull images from ACR')
resource acrMI 'Microsoft.ManagedIdentity/userAssignedIdentities@2022-01-31-preview' = {
name: acrManagedIdentityName
location: location
}

@microsoft-github-policy-service microsoft-github-policy-service bot removed Needs: Author Feedback Awaiting feedback from the author of the issue Status: No Recent Activity labels Jan 23, 2025
@StutiSri
Copy link
Author

The below content reproduces the issue

@description('Location to deploy resources to. Eg. westus2, eastus, central us')
param location string = resourceGroup().location

@description('Name of the ACR managed identity')
param acrManagedIdentityName string

@description('Create managed identity to be used by AKS to pull images from ACR')
resource acrMI 'Microsoft.ManagedIdentity/userAssignedIdentities@2022-01-31-preview' = {
  name: acrManagedIdentityName
  location: location
}

@majastrz majastrz self-assigned this Jan 29, 2025
@majastrz
Copy link
Member

@StutiSri I just tried out the repro and the deployment succeeded for me without the error that you reported. I tried a command like this with your file:

New-AzResourceGroupDeployment -Name test -ResourceGroupName majastrz-issue-15959 -TemplateFile C:\GitHub\majastrz\bicep-registry-demo\dynamic-parameters-issue-15959\main.bicep -Debug -Verbose

I've also tried without -Debug -Verbose and it also succeeded.

The one difference I see with my repro and yours is that the template file is on OneDrive. Can you try moving the template file outside of your OneDrive folder to see if it makes a difference? Also is there anything about how you're running the command that could be considered "special" or "unusual"?

@anthony-c-martin
Copy link
Member

Given the verbose logs you've shared, it seems like Azure PowerShell has assumed this is an ARM template without even attempting to read it as a Bicep file. If it had detected it as a Bicep file, I would expect to see these lines logged:
https://github.com/Azure/azure-powershell/blob/715a440b988bef2b00efeb395953b74803c4c7ce/src/Resources/ResourceManager/Utilities/BicepUtility.cs#L215-L217

The possible explanations I can think of for this are either:

  • The cmdlet is running an older version of Azure PowerShell (pre-Bicep support)
  • Azure PowerShell isn't correctly parsing the .bicep file extension from the path. This feels fairly unlikely to me, as it is able to load the file, which suggests to me that the path is valid.

@StutiSri
Copy link
Author

I moved the template to the same directory and still got the same error

PS C:\Users\stsrivastava> New-AzResourceGroupDeployment -ResourceGroupName ImpactRP-DEVTEST-Infra-Common -TemplateFile "test.bicep" -Debug -Verbose
DEBUG: Sought all Az modules and got latest version 0.0.0

Confirm
Continue with this operation?
[Y] Yes [A] Yes to All [H] Halt Command [S] Suspend [?] Help (default is "Y"): A
DEBUG: 11:54:19 AM - NewAzureResourceGroupDeploymentCmdlet begin processing with ParameterSet
'ByTemplateFileWithNoParameters'.
DEBUG: 11:54:19 AM - using account id '[email protected]'...
DEBUG: 11:54:19 AM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [], Cmdlet = [].
Returning default value [True].

Confirm
Are you sure you want to perform this action?
Performing the operation "Creating Deployment" on target "ImpactRP-DEVTEST-Infra-Common".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): A
DEBUG: [Common.Authentication]: Authenticating using Account: '[email protected]', environment: 'AzureCloud',
tenant: '72f988bf-86f1-41af-91ab-2d7cd011db47'
DEBUG: 11:54:23 AM - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync -
TenantId:'72f988bf-86f1-41af-91ab-2d7cd011db47', Scopes:'https://management.core.windows.net//.default',
AuthorityHost:'https://login.microsoftonline.com/', UserId:'[email protected]'
DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.core.windows.net//.default ]
ParentRequestId:
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:23.56 -
6dba1291-70c7-4b51-b88b-eabeceb4d8c0] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:23.57 -
6dba1291-70c7-4b51-b88b-eabeceb4d8c0] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:23.58 -
6dba1291-70c7-4b51-b88b-eabeceb4d8c0] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:23.58 -
6dba1291-70c7-4b51-b88b-eabeceb4d8c0] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:23.58 -
6dba1291-70c7-4b51-b88b-eabeceb4d8c0] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:23.59] Found 1 cache accounts
and 0 broker accounts
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:23.59] Returning 1 accounts
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:23.59 -
84236f94-3d8f-4f32-9187-98ace24ff460] MSAL MSAL.Desktop with assembly version '4.39.0.0'.
CorrelationId(84236f94-3d8f-4f32-9187-98ace24ff460)
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:23.59 -
84236f94-3d8f-4f32-9187-98ace24ff460] === AcquireTokenSilent Parameters ===
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:23.59 -
84236f94-3d8f-4f32-9187-98ace24ff460] LoginHint provided: False
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:23.59 -
84236f94-3d8f-4f32-9187-98ace24ff460] Account provided: True
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:23.59 -
84236f94-3d8f-4f32-9187-98ace24ff460] ForceRefresh: False
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:23.61 -
84236f94-3d8f-4f32-9187-98ace24ff460]
=== Request Data ===
Authority Provided? - True
Scopes - https://management.core.windows.net//.default
Extra Query Params Keys (space separated) -
ApiId - AcquireTokenSilent
IsConfidentialClient - False
SendX5C - False
LoginHint ? False
IsBrokerConfigured - False
HomeAccountId - False
CorrelationId - 84236f94-3d8f-4f32-9187-98ace24ff460
UserAssertion set: False
LongRunningOboCacheKey set: False
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:23.61 -
84236f94-3d8f-4f32-9187-98ace24ff460] === Token Acquisition (SilentRequest) started:
Scopes: https://management.core.windows.net//.default
Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:23.63 -
84236f94-3d8f-4f32-9187-98ace24ff460] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:23.64 -
84236f94-3d8f-4f32-9187-98ace24ff460] Access token has expired or about to expire. [Current time (02/14/2025 06:24:23)

  • Expiration Time (02/14/2025 06:15:17 +00:00) - Extended Expiration Time (02/14/2025 06:15:17 +00:00)]
    DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:23.64 -
    84236f94-3d8f-4f32-9187-98ace24ff460] [Region discovery] Not using a regional authority.
    DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:23.64 -
    84236f94-3d8f-4f32-9187-98ace24ff460] [Region discovery] Not using a regional authority.
    DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:23.66 -
    84236f94-3d8f-4f32-9187-98ace24ff460] Refresh token found in the cache? - True
    DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:23.66 -
    84236f94-3d8f-4f32-9187-98ace24ff460] [Region discovery] Not using a regional authority.
    DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:23.66 -
    84236f94-3d8f-4f32-9187-98ace24ff460] Fetching instance discovery from the network from host login.microsoftonline.com.

DEBUG: Request [13a6ddb1-497a-4188-aaf1-45be4826cd1a] GET
https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=REDACTED
x-client-SKU:REDACTED
x-client-Ver:REDACTED
x-client-CPU:REDACTED
x-client-OS:REDACTED
client-request-id:REDACTED
return-client-request-id:REDACTED
x-app-name:REDACTED
x-app-ver:REDACTED
x-ms-client-request-id:13a6ddb1-497a-4188-aaf1-45be4826cd1a
x-ms-return-client-request-id:true
User-Agent:azsdk-net-Identity/1.6.0 (.NET Framework 4.8.9290.0; Microsoft Windows 10.0.26100 )
client assembly: Azure.Identity
DEBUG: Response [13a6ddb1-497a-4188-aaf1-45be4826cd1a] 200 OK (00.2s)
Strict-Transport-Security:REDACTED
X-Content-Type-Options:REDACTED
Access-Control-Allow-Origin:REDACTED
Access-Control-Allow-Methods:REDACTED
client-request-id:REDACTED
x-ms-request-id:0899d285-b01e-42ed-b580-e012e5ee0b00
x-ms-ests-server:REDACTED
x-ms-srs:REDACTED
Content-Security-Policy-Report-Only:REDACTED
X-XSS-Protection:REDACTED
Cache-Control:max-age=86400, private
Content-Type:application/json; charset=utf-8
P3P:REDACTED
Set-Cookie:REDACTED
Date:Fri, 14 Feb 2025 06:24:23 GMT
Content-Length:980
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:23.97 -
84236f94-3d8f-4f32-9187-98ace24ff460] Authority validation enabled? True.
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:23.97 -
84236f94-3d8f-4f32-9187-98ace24ff460] Authority validation - is known env? True.
DEBUG: Request [f448eed5-7248-40dc-a0d8-1a6d6ab240f5] POST
https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token
x-client-SKU:REDACTED
x-client-Ver:REDACTED
x-client-CPU:REDACTED
x-client-OS:REDACTED
x-anchormailbox:REDACTED
x-client-current-telemetry:REDACTED
x-client-last-telemetry:REDACTED
x-ms-lib-capability:REDACTED
client-request-id:REDACTED
return-client-request-id:REDACTED
x-app-name:REDACTED
x-app-ver:REDACTED
Content-Type:application/x-www-form-urlencoded
x-ms-client-request-id:f448eed5-7248-40dc-a0d8-1a6d6ab240f5
x-ms-return-client-request-id:true
User-Agent:azsdk-net-Identity/1.6.0 (.NET Framework 4.8.9290.0; Microsoft Windows 10.0.26100 )
client assembly: Azure.Identity
DEBUG: Response [f448eed5-7248-40dc-a0d8-1a6d6ab240f5] 200 OK (00.5s)
Pragma:no-cache
Strict-Transport-Security:REDACTED
X-Content-Type-Options:REDACTED
client-request-id:REDACTED
x-ms-request-id:f08a6e62-b3c7-4b49-920e-5e6f18e81a00
x-ms-ests-server:REDACTED
x-ms-clitelem:REDACTED
x-ms-srs:REDACTED
Content-Security-Policy-Report-Only:REDACTED
X-XSS-Protection:REDACTED
Cache-Control:no-store, no-cache
Content-Type:application/json; charset=utf-8
Expires:-1
P3P:REDACTED
Set-Cookie:REDACTED
Date:Fri, 14 Feb 2025 06:24:23 GMT
Content-Length:5798
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:24.51 -
84236f94-3d8f-4f32-9187-98ace24ff460] Checking client info returned from the server..
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:24.51 -
84236f94-3d8f-4f32-9187-98ace24ff460] Saving token response to cache..
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:24.54 -
84236f94-3d8f-4f32-9187-98ace24ff460] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:24.58 -
84236f94-3d8f-4f32-9187-98ace24ff460] Saving AT in cache and removing overlapping ATs...
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:24.58 -
84236f94-3d8f-4f32-9187-98ace24ff460] Looking for scopes for the authority in the cache which intersect with
https://management.core.windows.net//.default
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:24.58 -
84236f94-3d8f-4f32-9187-98ace24ff460] Intersecting scope entries count - 1
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:24.58 -
84236f94-3d8f-4f32-9187-98ace24ff460] Matching entries after filtering by user - 1
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:24.58 -
84236f94-3d8f-4f32-9187-98ace24ff460] Saving Id Token and Account in cache ...
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:24.59 -
84236f94-3d8f-4f32-9187-98ace24ff460] Saving RT in cache...
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:24.59 -
84236f94-3d8f-4f32-9187-98ace24ff460] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:24.59 -
84236f94-3d8f-4f32-9187-98ace24ff460] Saving to ADAL legacy cache.
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:24.59 -
84236f94-3d8f-4f32-9187-98ace24ff460] Not writing FRT in ADAL legacy cache.
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:24.62 -
84236f94-3d8f-4f32-9187-98ace24ff460] Fetched access token from host login.microsoftonline.com.
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:24.62 -
84236f94-3d8f-4f32-9187-98ace24ff460]
=== Token Acquisition finished successfully:
DEBUG: False MSAL 4.39.0.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [02/14 06:24:24.62 -
84236f94-3d8f-4f32-9187-98ace24ff460] AT expiration time: 2/14/2025 7:40:20 AM +00:00, scopes
https://management.core.windows.net//user_impersonation https://management.core.windows.net//.default source
IdentityProvider from login.microsoftonline.com appHashCode 52924753
DEBUG: SharedTokenCacheCredential.GetToken succeeded. Scopes: [ https://management.core.windows.net//.default ]
ParentRequestId: ExpiresOn: 2025-02-14T07:40:20.5444803+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: '72f988bf-86f1-41af-91ab-2d7cd011db47',
UserId: '[email protected]'
DEBUG: 11:54:24 AM - [ConfigManager] Got [False] from [EnableDataCollection], Module = [], Cmdlet = [].

Confirm
Unexpected character encountered while parsing value: @. Path '', line 0, position 0.
[Y] Yes [A] Yes to All [H] Halt Command [S] Suspend [?] Help (default is "Y"): A
New-AzResourceGroupDeployment : Unexpected character encountered while parsing value: @. Path '', line 0, position 0.
At line:1 char:1

  • New-AzResourceGroupDeployment -ResourceGroupName ImpactRP-DEVTEST-Inf ...
  •   + CategoryInfo          : CloseError: (:) [New-AzResourceGroupDeployment], JsonReaderException
      + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDep
     loymentCmdlet
    
    

DEBUG: 11:54:27 AM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [], Cmdlet = [].
Returning default value [True].
DEBUG: 11:54:27 AM - NewAzureResourceGroupDeploymentCmdlet end processing.

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs: Triage 🔍 and removed Needs: Author Feedback Awaiting feedback from the author of the issue labels Feb 14, 2025
@StutiSri
Copy link
Author

I have upgraded az module as well

PS C:\Users\stsrivastava> Get-InstalledModule -Name Az -AllVersions

Version Name Repository Description


12.1.0 Az PSGallery Microsoft Azure PowerShell - Cmdlets to manage resources in Azure. This module is compatible with PowerShell and Windows PowerShell....
13.0.0 Az PSGallery Microsoft Azure PowerShell - Cmdlets to manage resources in Azure. This module is compatible with PowerShell and Windows PowerShell....
13.2.0 Az PSGallery Microsoft Azure PowerShell - Cmdlets to manage resources in Azure. This module is compatible with PowerShell and Windows PowerShell....
9.4.0 Az PSGallery Microsoft Azure PowerShell - Cmdlets to manage resources in Azure. This module is compatible with PowerShell and Windows PowerShell....
6.0.0 Az PSGallery Microsoft Azure PowerShell - Cmdlets to manage resources in Azure. This module is compatible with PowerShell and Windows PowerShell....

@anthony-c-martin
Copy link
Member

@StutiSri if you're no longer using it, could you try uninstalling Az version 6.0.0 from your machine?

Alternatively, you could uninstall all modules (docs), and re-install the latest (docs) to make sure you're starting from a clean slate.

@StutiSri
Copy link
Author

Thankyou @anthony-c-martin, that worked like magic!
All I needed was a clean slate.
Thank you so much for your help :)

@github-project-automation github-project-automation bot moved this from Todo to Done in Bicep Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

5 participants