Skip to content

Enter-AzVM: Unsupported cloud bleu #27841

Open
@JanZruba

Description

@JanZruba
Contributor

Description

In general Azure Powershell allows to define custom clouds via Add-AzEnvironment. This is useful e.g. when a new cloud is being build before it's official out, as is the case nowadays with new French sovereign cloud Bleu.
However some commands like Enter-AzVM do not utilize this configuration and instead have supported clouds hardcoded. In general this should be changed not to use hardcoded values but use whatever is defined in Add-AzEnvironment.
As a temporary workaround during Bleu cloud buildout, the hardcoded definition needs to be extended for Bleu.

Issue script & Debug output

PS C:\Users\JANZRUBA> enter-AzVM -Name *** -ResourceGroupName ***
Enter-AzVM: Unsupported cloud bleu. Supported clouds include AzureCloud,AzureChinaCloud,AzureUSGovernment.
PS C:\Users\JANZRUBA> $DebugPreference='Continue'
PS C:\Users\JANZRUBA> Enter-AzVM -Name *** -ResourceGroupName ***
DEBUG: 13:14:26 - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 13:14:26 - EnterAzVMCommand begin processing with ParameterSet 'Interactive'.
DEBUG: 13:14:26 - using account id '***'...
DEBUG: 13:14:26 - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [Az.Ssh], Cmdlet = [Enter-AzVM]. Returning default value [True].
DEBUG: [Common.Authentication]: Authenticating using Account: '***', environment: 'Bleu', tenant: '***'
DEBUG: 13:14:26 - [ConfigManager] Got nothing from [DisableInstanceDiscovery], Module = [], Cmdlet = []. Returning default value [False].
DEBUG: 13:14:26 - [ConfigManager] Got nothing from [EnableLoginByWam], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 13:14:26 - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'***', Scopes:'https://management.sovcloud-api.fr//.default', AuthorityHost:'https://login.sovcloud-identity.fr/', UserId:'***'
DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.sovcloud-api.fr//.default ] ParentRequestId:
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z] [Internal cache] Clearing user token cache accessor.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z] [Internal cache] Total number of cache partitions found while getting refresh tokens: 5
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z - de5a3752-75b9-460f-8b70-4200cfa4304b] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z - de5a3752-75b9-460f-8b70-4200cfa4304b] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z - de5a3752-75b9-460f-8b70-4200cfa4304b] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z - de5a3752-75b9-460f-8b70-4200cfa4304b] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z - de5a3752-75b9-460f-8b70-4200cfa4304b] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z - de5a3752-75b9-460f-8b70-4200cfa4304b] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z] Found 2 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z] Returning 2 accounts
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z - 2cda19a8-5a61-48c6-8c8d-0b4fc90bc654] MSAL MSAL.CoreCLR with assembly version '4.65.0.0'. CorrelationId(2cda19a8-5a61-48c6-8c8d-0b4fc90bc654)
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z - 2cda19a8-5a61-48c6-8c8d-0b4fc90bc654] === AcquireTokenSilent Parameters ===
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z - 2cda19a8-5a61-48c6-8c8d-0b4fc90bc654] LoginHint provided: False
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z - 2cda19a8-5a61-48c6-8c8d-0b4fc90bc654] Account provided: True
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z - 2cda19a8-5a61-48c6-8c8d-0b4fc90bc654] ForceRefresh: False
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z - 2cda19a8-5a61-48c6-8c8d-0b4fc90bc654]
=== Request Data ===
Authority Provided? - True
Scopes - https://management.sovcloud-api.fr//.default
Extra Query Params Keys (space separated) -
ApiId - AcquireTokenSilent
IsConfidentialClient - False
SendX5C - False
LoginHint ? False
IsBrokerConfigured - False
HomeAccountId - False
CorrelationId - 2cda19a8-5a61-48c6-8c8d-0b4fc90bc654
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:

DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z - 2cda19a8-5a61-48c6-8c8d-0b4fc90bc654] === Token Acquisition (SilentRequest) started:
         Scopes: https://management.sovcloud-api.fr//.default
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z] [Internal cache] Clearing user token cache accessor.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z - 2cda19a8-5a61-48c6-8c8d-0b4fc90bc654] [Internal cache] Total number of cache partitions found while getting access tokens: 5
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z - 2cda19a8-5a61-48c6-8c8d-0b4fc90bc654] [FindAccessTokenAsync] Discovered 2 access tokens in cache using partition key: 7dfca1b1-63e6-43d9-9c60-ea8e8d0d1be7.***
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z - 2cda19a8-5a61-48c6-8c8d-0b4fc90bc654] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z - 2cda19a8-5a61-48c6-8c8d-0b4fc90bc654] Access token is not expired. Returning the found cache entry. [Current time (05/26/2025 11:14:26) - Expiration Time (05/26/2025 12:12:17 +00:00) - Extended Expiration Time (05/26/2025 12:12:17 +00:00)]
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z - 2cda19a8-5a61-48c6-8c8d-0b4fc90bc654] Returning access token found in cache. RefreshOn exists ? False
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z - 2cda19a8-5a61-48c6-8c8d-0b4fc90bc654] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z - 2cda19a8-5a61-48c6-8c8d-0b4fc90bc654]
        === Token Acquisition finished successfully:
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z - 2cda19a8-5a61-48c6-8c8d-0b4fc90bc654]  AT expiration time: 26. 5. 2025 12:12:17 +00:00, scopes: https://management.sovcloud-api.fr//.default https://management.sovcloud-api.fr//user_impersonation. source: Cache
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z - 2cda19a8-5a61-48c6-8c8d-0b4fc90bc654]
[LogMetricsFromAuthResult] Cache Refresh Reason: NotApplicable
[LogMetricsFromAuthResult] DurationInCacheInMs: 0
[LogMetricsFromAuthResult] DurationTotalInMs: 1
[LogMetricsFromAuthResult] DurationInHttpInMs: 0
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:26Z - 2cda19a8-5a61-48c6-8c8d-0b4fc90bc654] TokenEndpoint: ****
DEBUG: SharedTokenCacheCredential.GetToken succeeded. Scopes: [ https://management.sovcloud-api.fr//.default ] ParentRequestId:  ExpiresOn: 2025-05-26T12:12:17.0000000+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: '***', UserId: '***'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.sovcloud-api.fr/subscriptions/***/resourceGroups/***/providers/Microsoft.HybridCompute/machines/***?api-version=2020-08-02

Headers:
Accept-Language               : en-US
x-ms-client-request-id        : 3bfe384d-285b-4bff-a05a-c466074cfcdf

Body:



DEBUG: ============================ HTTP RESPONSE ============================

Status Code:
NotFound

Headers:
Cache-Control                 : no-cache
Pragma                        : no-cache
x-ms-failure-cause            : gateway
x-ms-request-id               : 2fb7109d-06c0-4025-890a-052710555c12
x-ms-correlation-request-id   : 2fb7109d-06c0-4025-890a-052710555c12
x-ms-routing-request-id       : BLEUFRANCECENTRAL:20250526T111427Z:2fb7109d-06c0-4025-890a-052710555c12
Strict-Transport-Security     : max-age=31536000; includeSubDomains
X-Content-Type-Options        : nosniff
Date                          : Mon, 26 May 2025 11:14:26 GMT

Body:
{
  "error": {
    "code": "InvalidResourceNamespace",
    "message": "The resource namespace 'Microsoft.HybridCompute' is invalid."
  }
}


DEBUG: [Common.Authentication]: Authenticating using Account: '***', environment: 'Bleu', tenant: '***'
DEBUG: 13:14:27 - [ConfigManager] Got nothing from [DisableInstanceDiscovery], Module = [], Cmdlet = []. Returning default value [False].
DEBUG: 13:14:27 - [ConfigManager] Got nothing from [EnableLoginByWam], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 13:14:27 - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'***', Scopes:'https://management.sovcloud-api.fr//.default', AuthorityHost:'https://login.sovcloud-identity.fr/', UserId:'***'
DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.sovcloud-api.fr//.default ] ParentRequestId:
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z] [Internal cache] Clearing user token cache accessor.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z] [Internal cache] Total number of cache partitions found while getting refresh tokens: 5
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - eeba5d95-b087-4dd3-be20-4d657af080de] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - eeba5d95-b087-4dd3-be20-4d657af080de] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - eeba5d95-b087-4dd3-be20-4d657af080de] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - eeba5d95-b087-4dd3-be20-4d657af080de] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - eeba5d95-b087-4dd3-be20-4d657af080de] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - eeba5d95-b087-4dd3-be20-4d657af080de] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z] Found 2 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z] Returning 2 accounts
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - cde2c2fe-f52b-4308-9ad2-acb1305680d1] MSAL MSAL.CoreCLR with assembly version '4.65.0.0'. CorrelationId(cde2c2fe-f52b-4308-9ad2-acb1305680d1)
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - cde2c2fe-f52b-4308-9ad2-acb1305680d1] === AcquireTokenSilent Parameters ===
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - cde2c2fe-f52b-4308-9ad2-acb1305680d1] LoginHint provided: False
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - cde2c2fe-f52b-4308-9ad2-acb1305680d1] Account provided: True
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - cde2c2fe-f52b-4308-9ad2-acb1305680d1] ForceRefresh: False
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - cde2c2fe-f52b-4308-9ad2-acb1305680d1]
=== Request Data ===
Authority Provided? - True
Scopes - https://management.sovcloud-api.fr//.default
Extra Query Params Keys (space separated) -
ApiId - AcquireTokenSilent
IsConfidentialClient - False
SendX5C - False
LoginHint ? False
IsBrokerConfigured - False
HomeAccountId - False
CorrelationId - cde2c2fe-f52b-4308-9ad2-acb1305680d1
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:

DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - cde2c2fe-f52b-4308-9ad2-acb1305680d1] === Token Acquisition (SilentRequest) started:
         Scopes: https://management.sovcloud-api.fr//.default
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z] [Internal cache] Clearing user token cache accessor.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - cde2c2fe-f52b-4308-9ad2-acb1305680d1] [Internal cache] Total number of cache partitions found while getting access tokens: 5
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - cde2c2fe-f52b-4308-9ad2-acb1305680d1] [FindAccessTokenAsync] Discovered 2 access tokens in cache using partition key: 7dfca1b1-63e6-43d9-9c60-ea8e8d0d1be7.***
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - cde2c2fe-f52b-4308-9ad2-acb1305680d1] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - cde2c2fe-f52b-4308-9ad2-acb1305680d1] Access token is not expired. Returning the found cache entry. [Current time (05/26/2025 11:14:27) - Expiration Time (05/26/2025 12:12:17 +00:00) - Extended Expiration Time (05/26/2025 12:12:17 +00:00)]
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - cde2c2fe-f52b-4308-9ad2-acb1305680d1] Returning access token found in cache. RefreshOn exists ? False
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - cde2c2fe-f52b-4308-9ad2-acb1305680d1] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - cde2c2fe-f52b-4308-9ad2-acb1305680d1]
        === Token Acquisition finished successfully:
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - cde2c2fe-f52b-4308-9ad2-acb1305680d1]  AT expiration time: 26. 5. 2025 12:12:17 +00:00, scopes: https://management.sovcloud-api.fr//.default https://management.sovcloud-api.fr//user_impersonation. source: Cache
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - cde2c2fe-f52b-4308-9ad2-acb1305680d1]
[LogMetricsFromAuthResult] Cache Refresh Reason: NotApplicable
[LogMetricsFromAuthResult] DurationInCacheInMs: 0
[LogMetricsFromAuthResult] DurationTotalInMs: 2
[LogMetricsFromAuthResult] DurationInHttpInMs: 0
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - cde2c2fe-f52b-4308-9ad2-acb1305680d1] TokenEndpoint: ****
DEBUG: SharedTokenCacheCredential.GetToken succeeded. Scopes: [ https://management.sovcloud-api.fr//.default ] ParentRequestId:  ExpiresOn: 2025-05-26T12:12:17.0000000+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: '***', UserId: '***'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.sovcloud-api.fr/subscriptions/***/resourceGroups/***/providers/Microsoft.Compute/virtualMachines/***?api-version=2022-03-01

Headers:
Accept-Language               : en-US
x-ms-client-request-id        : 3bfe384d-285b-4bff-a05a-c466074cfcdf

Body:



DEBUG: ============================ HTTP RESPONSE ============================

Status Code:
OK

Headers:
Cache-Control                 : no-cache
Pragma                        : no-cache
x-ms-ratelimit-remaining-resource: Microsoft.Compute/LowCostGetSubscriptionMaximum;23999,Microsoft.Compute/LowCostGetResource;35
x-ms-need-to-refresh-epl-cache: False
Strict-Transport-Security     : max-age=31536000; includeSubDomains
x-ms-request-id               : 1765a459-dea2-437d-b4be-7e1f4fae47f2
Server                        : Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0
x-ms-ratelimit-remaining-subscription-reads: 14997
x-ms-correlation-request-id   : 487de920-c405-46e8-8e73-6d4fe72116bc
x-ms-routing-request-id       : BLEUFRANCECENTRAL:20250526T111427Z:487de920-c405-46e8-8e73-6d4fe72116bc
X-Content-Type-Options        : nosniff
Date                          : Mon, 26 May 2025 11:14:26 GMT

Body:
{
  "name": "***",
  "id": "/subscriptions/***/resourceGroups/***/providers/Microsoft.Compute/virtualMachines/***",
  "type": "Microsoft.Compute/virtualMachines",
  "location": "bleufrancecentral",
  "identity": {
    "type": "SystemAssigned",
    "principalId": "***",
    "tenantId": "***"
  },
  "properties": {
    "hardwareProfile": {
      "vmSize": "Standard_D16ads_v5"
    },
    "provisioningState": "Succeeded",
    "vmId": "***",
    "storageProfile": {
      "imageReference": {
        "publisher": "MicrosoftCblMariner",
        "offer": "cbl-Mariner",
        "sku": "cbl-mariner-2-gen2-fips",
        "version": "latest",
        "exactVersion": "2.20250429.01"
      },
      "osDisk": {
        "osType": "Linux",
        "name": "***_OsDisk",
        "createOption": "FromImage",
        "caching": "ReadWrite",
        "managedDisk": {
          "storageAccountType": "Premium_LRS",
          "id": "/subscriptions/***/resourceGroups/***/providers/Microsoft.Compute/disks/***_OsDisk"
        },
        "deleteOption": "Detach",
        "diskSizeGB": 512
      },
      "dataDisks": [],
      "diskControllerType": "SCSI"
    },
    "osProfile": {
      "computerName": "***",
      "adminUsername": "lsmtemp",
      "linuxConfiguration": {
        "disablePasswordAuthentication": true,
        "ssh": {
          "publicKeys": [
            {
              "path": "/home/lsmtemp/.ssh/authorized_keys",
              "keyData": "ssh-rsa ***"
            }
          ]
        },
        "provisionVMAgent": true,
        "patchSettings": {
          "patchMode": "ImageDefault",
          "assessmentMode": "ImageDefault"
        }
      },
      "secrets": [],
      "dsmsConfiguration": {
        "certificates": [
          {
            "storeName": "my",
            "storeLocation": "localmachine",
            "sourceLocation": "***"
          },
          {
            "storeName": "my",
            "storeLocation": "localmachine",
            "sourceLocation": "***"
          },
          {
            "storeName": "my",
            "storeLocation": "localmachine",
            "sourceLocation": "***"
          },
          {
            "storeName": "my",
            "storeLocation": "localmachine",
            "sourceLocation": "***"
          },
          {
            "storeName": "my",
            "storeLocation": "localmachine",
            "sourceLocation": "***"
          },
          {
            "storeName": "my",
            "storeLocation": "localmachine",
            "sourceLocation": "***"
          },
          {
            "storeName": "my",
            "storeLocation": "localmachine",
            "sourceLocation": "***"
          }
        ],
        "secrets": [
          {
            "sourceLocation": "***"
          }
        ]
      },
      "allowExtensionOperations": true,
      "requireGuestProvisionSignal": true
    },
    "networkProfile": {
      "networkInterfaces": [
        {
          "id": "/subscriptions/***/resourceGroups/***/providers/Microsoft.Network/networkInterfaces/***-VMNic"
        }
      ]
    },
    "timeCreated": "2025-05-23T14:59:55.8807508+02:00"
  },
  "resources": [
    {
      "name": "AADSSHLoginForLinux",
      "id": "/subscriptions/***/resourceGroups/***/providers/Microsoft.Compute/virtualMachines/***/extensions/AADSSHLoginForLinux",
      "type": "Microsoft.Compute/virtualMachines/extensions",
      "location": "bleufrancecentral",
      "properties": {
        "autoUpgradeMinorVersion": true,
        "provisioningState": "Failed",
        "publisher": "Microsoft.Azure.ActiveDirectory",
        "type": "AADSSHLoginForLinux",
        "typeHandlerVersion": "1.0",
        "settings": {}
      }
    },
    {
      "name": "AzureMonitorLinuxAgent",
      "id": "/subscriptions/***/resourceGroups/***/providers/Microsoft.Compute/virtualMachines/***/extensions/AzureMonitorLinuxAgent",
      "type": "Microsoft.Compute/virtualMachines/extensions",
      "location": "bleufrancecentral",
      "properties": {
        "autoUpgradeMinorVersion": true,
        "provisioningState": "Succeeded",
        "enableAutomaticUpgrade": true,
        "publisher": "Microsoft.Azure.Monitor",
        "type": "AzureMonitorLinuxAgent",
        "typeHandlerVersion": "1.0",
        "settings": {
          "GCS_AUTO_CONFIG": true
        }
      }
    },
    {
      "name": "AzureSecurityLinuxAgent",
      "id": "/subscriptions/***/resourceGroups/***/providers/Microsoft.Compute/virtualMachines/***/extensions/AzureSecurityLinuxAgent",
      "type": "Microsoft.Compute/virtualMachines/extensions",
      "location": "bleufrancecentral",
      "properties": {
        "autoUpgradeMinorVersion": true,
        "provisioningState": "Succeeded",
        "enableAutomaticUpgrade": true,
        "publisher": "Microsoft.Azure.Security.Monitoring",
        "type": "AzureSecurityLinuxAgent",
        "typeHandlerVersion": "2.0",
        "settings": {
          "enableGenevaUpload": true,
          "enableAutoConfig": true
        }
      }
    }
  ]
}


DEBUG: [Common.Authentication]: Authenticating using Account: '***', environment: 'Bleu', tenant: '***'
DEBUG: 13:14:27 - [ConfigManager] Got nothing from [DisableInstanceDiscovery], Module = [], Cmdlet = []. Returning default value [False].
DEBUG: 13:14:27 - [ConfigManager] Got nothing from [EnableLoginByWam], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 13:14:27 - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'***', Scopes:'https://management.sovcloud-api.fr//.default', AuthorityHost:'https://login.sovcloud-identity.fr/', UserId:'***'
DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.sovcloud-api.fr//.default ] ParentRequestId:
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z] [Internal cache] Clearing user token cache accessor.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z] [Internal cache] Total number of cache partitions found while getting refresh tokens: 5
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - e60d073b-0986-496a-b155-030ae43d303c] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - e60d073b-0986-496a-b155-030ae43d303c] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - e60d073b-0986-496a-b155-030ae43d303c] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - e60d073b-0986-496a-b155-030ae43d303c] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - e60d073b-0986-496a-b155-030ae43d303c] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - e60d073b-0986-496a-b155-030ae43d303c] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z] Found 2 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z] Returning 2 accounts
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 57e55630-074c-4cc6-9f00-7dd82f7eb829] MSAL MSAL.CoreCLR with assembly version '4.65.0.0'. CorrelationId(57e55630-074c-4cc6-9f00-7dd82f7eb829)
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 57e55630-074c-4cc6-9f00-7dd82f7eb829] === AcquireTokenSilent Parameters ===
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 57e55630-074c-4cc6-9f00-7dd82f7eb829] LoginHint provided: False
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 57e55630-074c-4cc6-9f00-7dd82f7eb829] Account provided: True
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 57e55630-074c-4cc6-9f00-7dd82f7eb829] ForceRefresh: False
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 57e55630-074c-4cc6-9f00-7dd82f7eb829]
=== Request Data ===
Authority Provided? - True
Scopes - https://management.sovcloud-api.fr//.default
Extra Query Params Keys (space separated) -
ApiId - AcquireTokenSilent
IsConfidentialClient - False
SendX5C - False
LoginHint ? False
IsBrokerConfigured - False
HomeAccountId - False
CorrelationId - 57e55630-074c-4cc6-9f00-7dd82f7eb829
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:

DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 57e55630-074c-4cc6-9f00-7dd82f7eb829] === Token Acquisition (SilentRequest) started:
         Scopes: https://management.sovcloud-api.fr//.default
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z] [Internal cache] Clearing user token cache accessor.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 57e55630-074c-4cc6-9f00-7dd82f7eb829] [Internal cache] Total number of cache partitions found while getting access tokens: 5
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 57e55630-074c-4cc6-9f00-7dd82f7eb829] [FindAccessTokenAsync] Discovered 2 access tokens in cache using partition key: 7dfca1b1-63e6-43d9-9c60-ea8e8d0d1be7.***
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 57e55630-074c-4cc6-9f00-7dd82f7eb829] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 57e55630-074c-4cc6-9f00-7dd82f7eb829] Access token is not expired. Returning the found cache entry. [Current time (05/26/2025 11:14:27) - Expiration Time (05/26/2025 12:12:17 +00:00) - Extended Expiration Time (05/26/2025 12:12:17 +00:00)]
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 57e55630-074c-4cc6-9f00-7dd82f7eb829] Returning access token found in cache. RefreshOn exists ? False
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 57e55630-074c-4cc6-9f00-7dd82f7eb829] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 57e55630-074c-4cc6-9f00-7dd82f7eb829]
        === Token Acquisition finished successfully:
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 57e55630-074c-4cc6-9f00-7dd82f7eb829]  AT expiration time: 26. 5. 2025 12:12:17 +00:00, scopes: https://management.sovcloud-api.fr//.default https://management.sovcloud-api.fr//user_impersonation. source: Cache
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 57e55630-074c-4cc6-9f00-7dd82f7eb829]
[LogMetricsFromAuthResult] Cache Refresh Reason: NotApplicable
[LogMetricsFromAuthResult] DurationInCacheInMs: 0
[LogMetricsFromAuthResult] DurationTotalInMs: 1
[LogMetricsFromAuthResult] DurationInHttpInMs: 0
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 57e55630-074c-4cc6-9f00-7dd82f7eb829] TokenEndpoint: ****
DEBUG: SharedTokenCacheCredential.GetToken succeeded. Scopes: [ https://management.sovcloud-api.fr//.default ] ParentRequestId:  ExpiresOn: 2025-05-26T12:12:17.0000000+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: '***', UserId: '***'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.sovcloud-api.fr/subscriptions/***/resourceGroups/***/providers/Microsoft.Compute/virtualMachines/***?api-version=2022-03-01

Headers:
Accept-Language               : en-US
x-ms-client-request-id        : 3bfe384d-285b-4bff-a05a-c466074cfcdf

Body:



DEBUG: ============================ HTTP RESPONSE ============================

Status Code:
OK

Headers:
Cache-Control                 : no-cache
Pragma                        : no-cache
x-ms-ratelimit-remaining-resource: Microsoft.Compute/LowCostGetSubscriptionMaximum;23998,Microsoft.Compute/LowCostGetResource;34
x-ms-need-to-refresh-epl-cache: False
Strict-Transport-Security     : max-age=31536000; includeSubDomains
x-ms-request-id               : f3a5f181-2ae2-4d7d-84b3-2a308c44e4d9
Server                        : Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0
x-ms-ratelimit-remaining-subscription-reads: 14999
x-ms-correlation-request-id   : 955ce99b-2de4-4f9d-96ee-01f0032d677e
x-ms-routing-request-id       : BLEUFRANCECENTRAL:20250526T111427Z:955ce99b-2de4-4f9d-96ee-01f0032d677e
X-Content-Type-Options        : nosniff
Date                          : Mon, 26 May 2025 11:14:27 GMT

Body:
{
  "name": "***",
  "id": "/subscriptions/***/resourceGroups/***/providers/Microsoft.Compute/virtualMachines/***",
  "type": "Microsoft.Compute/virtualMachines",
  "location": "bleufrancecentral",
  "identity": {
    "type": "SystemAssigned",
    "principalId": "***",
    "tenantId": "***"
  },
  "properties": {
    "hardwareProfile": {
      "vmSize": "Standard_D16ads_v5"
    },
    "provisioningState": "Succeeded",
    "vmId": "***",
    "storageProfile": {
      "imageReference": {
        "publisher": "MicrosoftCblMariner",
        "offer": "cbl-Mariner",
        "sku": "cbl-mariner-2-gen2-fips",
        "version": "latest",
        "exactVersion": "2.20250429.01"
      },
      "osDisk": {
        "osType": "Linux",
        "name": "***_OsDisk",
        "createOption": "FromImage",
        "caching": "ReadWrite",
        "managedDisk": {
          "storageAccountType": "Premium_LRS",
          "id": "/subscriptions/***/resourceGroups/***/providers/Microsoft.Compute/disks/***_OsDisk"
        },
        "deleteOption": "Detach",
        "diskSizeGB": 512
      },
      "dataDisks": [],
      "diskControllerType": "SCSI"
    },
    "osProfile": {
      "computerName": "***",
      "adminUsername": "lsmtemp",
      "linuxConfiguration": {
        "disablePasswordAuthentication": true,
        "ssh": {
          "publicKeys": [
            {
              "path": "/home/lsmtemp/.ssh/authorized_keys",
              "keyData": "ssh-rsa ***"
            }
          ]
        },
        "provisionVMAgent": true,
        "patchSettings": {
          "patchMode": "ImageDefault",
          "assessmentMode": "ImageDefault"
        }
      },
      "secrets": [],
      "dsmsConfiguration": {
        "certificates": [
          {
            "storeName": "my",
            "storeLocation": "localmachine",
            "sourceLocation": "***"
          },
          {
            "storeName": "my",
            "storeLocation": "localmachine",
            "sourceLocation": "***"
          },
          {
            "storeName": "my",
            "storeLocation": "localmachine",
            "sourceLocation": "***"
          },
          {
            "storeName": "my",
            "storeLocation": "localmachine",
            "sourceLocation": "***"
          },
          {
            "storeName": "my",
            "storeLocation": "localmachine",
            "sourceLocation": "***"
          },
          {
            "storeName": "my",
            "storeLocation": "localmachine",
            "sourceLocation": "***"
          },
          {
            "storeName": "my",
            "storeLocation": "localmachine",
            "sourceLocation": "***"
          }
        ],
        "secrets": [
          {
            "sourceLocation": "***"
          }
        ]
      },
      "allowExtensionOperations": true,
      "requireGuestProvisionSignal": true
    },
    "networkProfile": {
      "networkInterfaces": [
        {
          "id": "/subscriptions/***/resourceGroups/***/providers/Microsoft.Network/networkInterfaces/***-VMNic"
        }
      ]
    },
    "timeCreated": "2025-05-23T14:59:55.8807508+02:00"
  },
  "resources": [
    {
      "name": "AADSSHLoginForLinux",
      "id": "/subscriptions/***/resourceGroups/***/providers/Microsoft.Compute/virtualMachines/***/extensions/AADSSHLoginForLinux",
      "type": "Microsoft.Compute/virtualMachines/extensions",
      "location": "bleufrancecentral",
      "properties": {
        "autoUpgradeMinorVersion": true,
        "provisioningState": "Failed",
        "publisher": "Microsoft.Azure.ActiveDirectory",
        "type": "AADSSHLoginForLinux",
        "typeHandlerVersion": "1.0",
        "settings": {}
      }
    },
    {
      "name": "AzureMonitorLinuxAgent",
      "id": "/subscriptions/***/resourceGroups/***/providers/Microsoft.Compute/virtualMachines/***/extensions/AzureMonitorLinuxAgent",
      "type": "Microsoft.Compute/virtualMachines/extensions",
      "location": "bleufrancecentral",
      "properties": {
        "autoUpgradeMinorVersion": true,
        "provisioningState": "Succeeded",
        "enableAutomaticUpgrade": true,
        "publisher": "Microsoft.Azure.Monitor",
        "type": "AzureMonitorLinuxAgent",
        "typeHandlerVersion": "1.0",
        "settings": {
          "GCS_AUTO_CONFIG": true
        }
      }
    },
    {
      "name": "AzureSecurityLinuxAgent",
      "id": "/subscriptions/***/resourceGroups/***/providers/Microsoft.Compute/virtualMachines/***/extensions/AzureSecurityLinuxAgent",
      "type": "Microsoft.Compute/virtualMachines/extensions",
      "location": "bleufrancecentral",
      "properties": {
        "autoUpgradeMinorVersion": true,
        "provisioningState": "Succeeded",
        "enableAutomaticUpgrade": true,
        "publisher": "Microsoft.Azure.Security.Monitoring",
        "type": "AzureSecurityLinuxAgent",
        "typeHandlerVersion": "2.0",
        "settings": {
          "enableGenevaUpload": true,
          "enableAutoConfig": true
        }
      }
    }
  ]
}


DEBUG: [Common.Authentication]: Authenticating using Account: '***', environment: 'Bleu', tenant: '***'
DEBUG: 13:14:27 - [ConfigManager] Got nothing from [DisableInstanceDiscovery], Module = [], Cmdlet = []. Returning default value [False].
DEBUG: 13:14:27 - [ConfigManager] Got nothing from [EnableLoginByWam], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 13:14:27 - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'***', Scopes:'https://management.sovcloud-api.fr//.default', AuthorityHost:'https://login.sovcloud-identity.fr/', UserId:'***'
DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.sovcloud-api.fr//.default ] ParentRequestId:
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z] [Internal cache] Clearing user token cache accessor.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z] [Internal cache] Total number of cache partitions found while getting refresh tokens: 5
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 00206cb2-0683-4322-826f-f1612d340636] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 00206cb2-0683-4322-826f-f1612d340636] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 00206cb2-0683-4322-826f-f1612d340636] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 00206cb2-0683-4322-826f-f1612d340636] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 00206cb2-0683-4322-826f-f1612d340636] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 00206cb2-0683-4322-826f-f1612d340636] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z] Found 2 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z] Returning 2 accounts
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 8b3d4cbd-f1f9-4b45-8e20-f0b0348cac0e] MSAL MSAL.CoreCLR with assembly version '4.65.0.0'. CorrelationId(8b3d4cbd-f1f9-4b45-8e20-f0b0348cac0e)
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 8b3d4cbd-f1f9-4b45-8e20-f0b0348cac0e] === AcquireTokenSilent Parameters ===
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 8b3d4cbd-f1f9-4b45-8e20-f0b0348cac0e] LoginHint provided: False
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 8b3d4cbd-f1f9-4b45-8e20-f0b0348cac0e] Account provided: True
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 8b3d4cbd-f1f9-4b45-8e20-f0b0348cac0e] ForceRefresh: False
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 8b3d4cbd-f1f9-4b45-8e20-f0b0348cac0e]
=== Request Data ===
Authority Provided? - True
Scopes - https://management.sovcloud-api.fr//.default
Extra Query Params Keys (space separated) -
ApiId - AcquireTokenSilent
IsConfidentialClient - False
SendX5C - False
LoginHint ? False
IsBrokerConfigured - False
HomeAccountId - False
CorrelationId - 8b3d4cbd-f1f9-4b45-8e20-f0b0348cac0e
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured:

DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 8b3d4cbd-f1f9-4b45-8e20-f0b0348cac0e] === Token Acquisition (SilentRequest) started:
         Scopes: https://management.sovcloud-api.fr//.default
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z] [Internal cache] Clearing user token cache accessor.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 8b3d4cbd-f1f9-4b45-8e20-f0b0348cac0e] [Internal cache] Total number of cache partitions found while getting access tokens: 5
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 8b3d4cbd-f1f9-4b45-8e20-f0b0348cac0e] [FindAccessTokenAsync] Discovered 2 access tokens in cache using partition key: 7dfca1b1-63e6-43d9-9c60-ea8e8d0d1be7.***
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 8b3d4cbd-f1f9-4b45-8e20-f0b0348cac0e] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 8b3d4cbd-f1f9-4b45-8e20-f0b0348cac0e] Access token is not expired. Returning the found cache entry. [Current time (05/26/2025 11:14:27) - Expiration Time (05/26/2025 12:12:17 +00:00) - Extended Expiration Time (05/26/2025 12:12:17 +00:00)]
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 8b3d4cbd-f1f9-4b45-8e20-f0b0348cac0e] Returning access token found in cache. RefreshOn exists ? False
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 8b3d4cbd-f1f9-4b45-8e20-f0b0348cac0e] [Region discovery] Not using a regional authority.
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 8b3d4cbd-f1f9-4b45-8e20-f0b0348cac0e]
        === Token Acquisition finished successfully:
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 8b3d4cbd-f1f9-4b45-8e20-f0b0348cac0e]  AT expiration time: 26. 5. 2025 12:12:17 +00:00, scopes: https://management.sovcloud-api.fr//.default https://management.sovcloud-api.fr//user_impersonation. source: Cache
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 8b3d4cbd-f1f9-4b45-8e20-f0b0348cac0e]
[LogMetricsFromAuthResult] Cache Refresh Reason: NotApplicable
[LogMetricsFromAuthResult] DurationInCacheInMs: 0
[LogMetricsFromAuthResult] DurationTotalInMs: 3
[LogMetricsFromAuthResult] DurationInHttpInMs: 0
DEBUG: False MSAL 4.65.0.0 MSAL.CoreCLR .NET 8.0.12 Microsoft Windows 10.0.26100 [2025-05-26 11:14:27Z - 8b3d4cbd-f1f9-4b45-8e20-f0b0348cac0e] TokenEndpoint: ****
DEBUG: SharedTokenCacheCredential.GetToken succeeded. Scopes: [ https://management.sovcloud-api.fr//.default ] ParentRequestId:  ExpiresOn: 2025-05-26T12:12:17.0000000+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: '***', UserId: '***'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.sovcloud-api.fr/subscriptions/***/resourceGroups/***/providers/Microsoft.Network/networkInterfaces/***-VMNic?api-version=2021-08-01

Headers:
Accept-Language               : en-US
x-ms-client-request-id        : 3bfe384d-285b-4bff-a05a-c466074cfcdf

Body:



DEBUG: ============================ HTTP RESPONSE ============================

Status Code:
OK

Headers:
Cache-Control                 : no-cache
Pragma                        : no-cache
ETag                          : W/"e92563a9-a25e-4606-ba84-97ba1316255b"
x-ms-request-id               : daafe70a-3e09-4b2d-bdc3-5c41050536dd
x-ms-correlation-request-id   : 9c54fb89-0514-4953-8112-cbba964b0be8
x-ms-arm-service-request-id   : f7d32094-d575-4337-a33f-efcce7d24b08
Strict-Transport-Security     : max-age=31536000; includeSubDomains
x-ms-ratelimit-remaining-subscription-reads: 14996
Server                        : Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0
x-ms-routing-request-id       : BLEUFRANCECENTRAL:20250526T111428Z:9c54fb89-0514-4953-8112-cbba964b0be8
X-Content-Type-Options        : nosniff
Date                          : Mon, 26 May 2025 11:14:27 GMT

Body:
{
  "name": "***-VMNic",
  "id": "/subscriptions/***/resourceGroups/***/providers/Microsoft.Network/networkInterfaces/***-VMNic",
  "etag": "W/\"e92563a9-a25e-4606-ba84-97ba1316255b\"",
  "properties": {
    "provisioningState": "Succeeded",
    "resourceGuid": "8d6c37f1-3f1d-4424-a925-e356b98a5bcb",
    "ipConfigurations": [
      {
        "name": "ipconfig***-VMNic",
        "id": "/subscriptions/***/resourceGroups/***/providers/Microsoft.Network/networkInterfaces/***-VMNic/ipConfigurations/ipconfig***-VMNic",
        "etag": "W/\"e92563a9-a25e-4606-ba84-97ba1316255b\"",
        "type": "Microsoft.Network/networkInterfaces/ipConfigurations",
        "properties": {
          "provisioningState": "Succeeded",
          "privateIPAddress": "10.0.0.4",
          "privateIPAllocationMethod": "Dynamic",
          "publicIPAddress": {
            "id": "/subscriptions/***/resourceGroups/***/providers/Microsoft.Network/publicIPAddresses/***-PublicIP"
          },
          "subnet": {
            "id": "/subscriptions/***/resourceGroups/***/providers/Microsoft.Network/virtualNetworks/***/subnets/***"
          },
          "primary": true,
          "privateIPAddressVersion": "IPv4"
        }
      }
    ],
    "dnsSettings": {
      "dnsServers": [],
      "appliedDnsServers": [],
      "internalDomainNameSuffix": "***.cynx.internal.cloudapp.sovcloud-api.fr"
    },
    "macAddress": "00-17-FA-10-C1-26",
    "enableAcceleratedNetworking": false,
    "vnetEncryptionSupported": false,
    "enableIPForwarding": false,
    "networkSecurityGroup": {
      "id": "/subscriptions/***/resourceGroups/***/providers/Microsoft.Network/networkSecurityGroups/***-NSG"
    },
    "primary": true,
    "virtualMachine": {
      "id": "/subscriptions/***/resourceGroups/***/providers/Microsoft.Compute/virtualMachines/***"
    },
    "hostedWorkloads": [],
    "tapConfigurations": [],
    "nicType": "Standard",
    "auxiliaryMode": "None"
  },
  "type": "Microsoft.Network/networkInterfaces",
  "location": "bleufrancecentral",
  "kind": "Regular"
}


DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.sovcloud-api.fr/subscriptions/***/resourceGroups/***/providers/Microsoft.Network/publicIPAddresses/***-PublicIP?api-version=2021-08-01

Headers:
Accept-Language               : en-US
x-ms-client-request-id        : 3bfe384d-285b-4bff-a05a-c466074cfcdf

Body:



DEBUG: ============================ HTTP RESPONSE ============================

Status Code:
OK

Headers:
Cache-Control                 : no-cache
Pragma                        : no-cache
ETag                          : W/"13d44361-6557-4f6b-bbc9-ad980b8fd5ca"
x-ms-request-id               : 28a62ae8-8620-4070-9483-32f82b8dd378
x-ms-correlation-request-id   : 0acb4ca9-c807-48af-bd6d-9bf793b478f8
x-ms-arm-service-request-id   : c28d9347-4823-4967-84b1-336e47b42a90
Strict-Transport-Security     : max-age=31536000; includeSubDomains
Server                        : Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0
x-ms-ratelimit-remaining-subscription-reads: 14995
x-ms-routing-request-id       : BLEUFRANCECENTRAL:20250526T111428Z:0acb4ca9-c807-48af-bd6d-9bf793b478f8
X-Content-Type-Options        : nosniff
Date                          : Mon, 26 May 2025 11:14:27 GMT

Body:
{
  "name": "***-PublicIP",
  "id": "/subscriptions/***/resourceGroups/***/providers/Microsoft.Network/publicIPAddresses/***-PublicIP",
  "etag": "W/\"13d44361-6557-4f6b-bbc9-ad980b8fd5ca\"",
  "location": "bleufrancecentral",
  "properties": {
    "provisioningState": "Succeeded",
    "resourceGuid": "8484bca7-3ab1-4b3f-9499-bcbef7c2d0d7",
    "ipAddress": "90.72.201.49",
    "publicIPAddressVersion": "IPv4",
    "publicIPAllocationMethod": "Static",
    "idleTimeoutInMinutes": 4,
    "dnsSettings": {
      "domainNameLabel": "***",
      "fqdn": "***.bleufrancecentral.cloudapp.sovcloud-api.fr"
    },
    "ipTags": [
      {
        "ipTagType": "FirstPartyUsage",
        "tag": "/IdcacheManagement"
      }
    ],
    "ipConfiguration": {
      "id": "/subscriptions/***/resourceGroups/***/providers/Microsoft.Network/networkInterfaces/***-VMNic/ipConfigurations/ipconfig***-VMNic"
    }
  },
  "type": "Microsoft.Network/publicIPAddresses",
  "sku": {
    "name": "Basic",
    "tier": "Regional"
  }
}


DEBUG: 13:14:28 - [ConfigManager] Got nothing from [EnableLoginByWam], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 13:14:28 - [ConfigManager] Got nothing from [EnableErrorRecordsPersistence], Module = [Az.Ssh], Cmdlet = [Enter-AzVM]. Returning default value [False].
Enter-AzVM: Unsupported cloud bleu. Supported clouds include AzureCloud,AzureChinaCloud,AzureUSGovernment.
DEBUG: 13:14:28 - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [Az.Ssh], Cmdlet = [Enter-AzVM]. Returning default value [True].
DEBUG: 13:14:28 - [ConfigManager] Got nothing from [DisplayRegionIdentified], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 13:14:28 - [ConfigManager] Got nothing from [CheckForUpgrade], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: AzureQoSEvent:  Module: Az.Ssh:0.1.0; CommandName: Enter-AzVM; PSVersion: 3.0.0.0; IsSuccess: False; Duration: 00:00:02.5878390; SanitizeDuration: 00:00:00; Exception: Unsupported cloud bleu. Supported clouds include AzureCloud,AzureChinaCloud,AzureUSGovernment.;
DEBUG: 13:14:28 - [ConfigManager] Got [True] from [EnableDataCollection], Module = [], Cmdlet = [].
DEBUG: 13:14:28 - EnterAzVMCommand end processing.

Environment data

Name                           Value
----                           -----
PSVersion                      7.4.7
PSEdition                      Core
GitCommitId                    7.4.7
OS                             Microsoft Windows 10.0.26100
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Module versions

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Script     4.0.2                 Az.Accounts                         {Add-AzEnvironment, Clear-AzConfig, Clear-AzContext,…
Script     0.1.0                 Az.Ssh                              {Enter-AzVM, Export-AzSshConfig}

Error output

DEBUG: 13:16:38 - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 13:16:38 - ResolveError begin processing with ParameterSet 'AnyErrorParameterSet'.
DEBUG: 13:16:38 - using account id 'JANZRUBA@frme.gbl.msidentity.com'...
DEBUG: 13:16:38 - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [Az.Accounts], Cmdlet = [Resolve-AzError]. Returning default value [True].
DEBUG: 13:16:38 - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].

   HistoryId: 8

ErrorCategory     : CloseError: (:) [Resolve-AzError], InvalidOperationException
ErrorDetail       :
InvocationInfo    : {Resolve-AzError}
Line              : Resolve-AzError
Position          : At line:1 char:1
                    + Resolve-AzError
                    + ~~~~~~~~~~~~~~~
BoundParameters   : {}
UnboundParameters :
HistoryId         : 8

DEBUG: 13:16:38 - [ConfigManager] Got nothing from [EnableErrorRecordsPersistence], Module = [Az.Accounts], Cmdlet = [Resolve-AzError]. Returning default value [False].
Resolve-AzError: Collection was modified; enumeration operation may not execute.
DEBUG: 13:16:38 - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [Az.Accounts], Cmdlet = [Resolve-AzError]. Returning default value [True].
DEBUG: 13:16:38 - [ConfigManager] Got nothing from [DisplayRegionIdentified], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 13:16:38 - [ConfigManager] Got nothing from [CheckForUpgrade], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: AzureQoSEvent:  Module: Az.Accounts:4.0.2; CommandName: Resolve-AzError; PSVersion: 3.0.0.0; IsSuccess: False; Duration: 00:00:00.0334367; SanitizeDuration: 00:00:00.0000717; Exception: Collection was modified; enumeration operation may not execute.;
DEBUG: 13:16:38 - [ConfigManager] Got [True] from [EnableDataCollection], Module = [], Cmdlet = [].
DEBUG: 13:16:38 - ResolveError end processing.

Activity

added
bugThis issue requires a change to an existing behavior in the product in order to be resolved.
needs-triageThis is a new issue that needs to be triaged to the appropriate team.
on May 26, 2025
added a commit that references this issue on May 26, 2025

Azure#27841 Add Bleu cloud to Enter-AzVM

added a commit that references this issue on May 27, 2025

#27841 Add Bleu cloud to Enter-AzVM (#27842)

28645c8
added a commit that references this issue on May 28, 2025

Revert "Azure#27841 Enter-AzVM (#27842)"

added a commit that references this issue on May 28, 2025

Revert "#27841 Enter-AzVM (#27842)" (#27859)

944b803
added
feature-requestThis issue requires a new behavior in the product in order be resolved.
and removed
bugThis issue requires a change to an existing behavior in the product in order to be resolved.
on May 29, 2025
added a commit that references this issue on May 30, 2025

Azure#27841 Add Bleu cloud to Enter-AzVM (#27842)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Azure PS Teamfeature-requestThis issue requires a new behavior in the product in order be resolved.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @isra-fel@Alex-AZPS@JanZruba

      Issue actions

        Enter-AzVM: Unsupported cloud bleu · Issue #27841 · Azure/azure-powershell