Skip to content

Commit c567ab9

Browse files
Merge pull request #10100 from MicrosoftDocs/main
Auto Publish – main to live - 2025-11-03 22:00 UTC
2 parents c95c410 + c3b900f commit c567ab9

17 files changed

+100
-20
lines changed

support/azure/azure-storage/files/connectivity/files-troubleshoot-smb-connectivity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ If users are accessing the Azure file share using identity-based authentication,
6262

6363
#### Solution for cause 3
6464

65-
Validate that share-level permissions are configured correctly. See [Assign share-level permissions](/azure/storage/files/storage-files-identity-assign-share-level-permissions). Share-level permission assignments are supported for groups and users that have been synced from AD DS to Microsoft Entra ID using Microsoft Entra Connect Sync or Microsoft Entra Connect cloud sync. Confirm that groups and users being assigned share-level permissions aren't unsupported "cloud-only" groups.
65+
Validate that share-level permissions are configured correctly. See [Assign share-level permissions](/azure/storage/files/storage-files-identity-assign-share-level-permissions).
6666

6767
### <a id="error53-67-87"></a>Error 53, Error 67, or Error 87 when you mount or unmount an Azure file share
6868

support/azure/azure-storage/files/security/files-troubleshoot-smb-authentication.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,14 @@ When you try to mount a file share, you might receive the following error:
4040
4141
### Cause: Share-level permissions are incorrect
4242

43-
If end users are accessing the Azure file share using Active Directory Domain Services (AD DS) or Microsoft Entra Domain Services authentication, access to the file share fails with "Access is denied" error if share-level permissions are incorrect.
43+
If end users are accessing the Azure file share using identity-based authentication, access to the file share fails with "Access is denied" error if share-level permissions are incorrect.
4444

4545
> [!NOTE]
4646
> This error might be caused by issues other than incorrect share-level permissions. For information on other possible causes and solutions, see [Troubleshoot Azure Files connectivity and access issues](../connectivity/files-troubleshoot-smb-connectivity.md#error5).
4747
4848
### Solution
4949

50-
Validate that permissions are configured correctly:
51-
52-
- **Active Directory Domain Services (AD DS)** see [Assign share-level permissions](/azure/storage/files/storage-files-identity-assign-share-level-permissions).
53-
54-
Share-level permission assignments are supported for groups and users that are synced from AD DS to Microsoft Entra ID using Microsoft Entra Connect Sync or Microsoft Entra Connect cloud sync. Confirm that groups and users being assigned share-level permissions aren't unsupported "cloud-only" groups.
55-
56-
- **Microsoft Entra Domain Services** see [Assign share-level permissions](/azure/storage/files/storage-files-identity-auth-active-directory-domain-service-enable?tabs=azure-portal#assign-share-level-permissions).
50+
Validate that permissions are configured correctly. See [Assign share-level permissions](/azure/storage/files/storage-files-identity-assign-share-level-permissions).
5751

5852
<a name='error-aaddstenantnotfound-in-enabling-azure-ad-ds-authentication-for-azure-files-unable-to-locate-active-tenants-with-tenant-id-aad-tenant-id'></a>
5953

support/azure/virtual-machines/linux/apt-common-issues-in-ubuntu.md

Lines changed: 59 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.collection: linux
1010
ms.topic: troubleshooting-problem-resolution
1111
ms.workload: infrastructure-services
1212
ms.tgt_pltfrm: vm-linux
13-
ms.custom: linux-related-content
13+
ms.custom: linux-related-content, VM Admin - Linux (Guest OS)
1414
ms.date: 06/07/2024
1515
#customer intent: As an Azure Linux virtual machine (VM) administrator, I want troubleshoot issues in the APT tools so that I can successfully install or update applications on my VMs.
1616
---
@@ -20,9 +20,6 @@ ms.date: 06/07/2024
2020

2121
This article discusses and provides solutions to common issues that you might encounter when you use the `apt` command-line tool to install or update applications on Microsoft Azure virtual machines (VMs).
2222

23-
> [!CAUTION]
24-
> Standard support for Canonical Ubuntu 18.04 LTS is no longer available. If you're affected, see [Canonical Ubuntu 18.04 LTS is out of standard support on May 31, 2023](upgrade-canonical-ubuntu-18dot04-lts.md) to review your options.
25-
2623
## Overview
2724

2825
The `apt` (Advanced Package Tool) command on Ubuntu is a powerful tool that's used for package management. It enables you to install, remove, update, and manage software packages on the Ubuntu system. You can use `apt` to search for available packages, install specific versions of packages, and handle dependencies efficiently. It simplifies the process of software management by providing a command-line interface to interact with the APT libraries.
@@ -391,10 +388,65 @@ If any application automatically edits the *sources.list* file or adds a reposit
391388

392389
#### Solution: Remove or comment out armhf information from sources.list
393390

394-
Remove or comment out the lines that reference the ARM processor architecture in the */etc/apt/sources.list* file or */etc/apt/sources.list.d/\*.list*.
391+
Remove or comment out the lines that reference the ARM processor architecture in the `/etc/apt/sources.list` file or `/etc/apt/sources.list.d/*.list`.
395392

396393
</details>
397394

398-
[!INCLUDE [Third-party contact disclaimer](../../../includes/third-party-contact-disclaimer.md)]
395+
## Scenario 7: "Unknown apt-key errors when executing apt update"
396+
397+
<details>
398+
<summary>Scenario 7 details</summary>
399+
400+
When you run the `apt update` command, the system tries to fetch package information from multiple sources. However, you receive an error message about `Unknown error executing apt-key` shown in the following output:
401+
402+
```bash
403+
404+
(base)
405+
$ sudo apt update
406+
Hit:1 http://azure.archive.ubuntu.com/ubuntu jammy InRelease
407+
Hit:2 http://azure.archive.ubuntu.com/ubuntu jammy-updates InRelease
408+
Hit:3 http://azure.archive.ubuntu.com/ubuntu jammy-backports InRelease
409+
Hit:4 http://azure.archive.ubuntu.com/ubuntu jammy-security InRelease
410+
Err:1 http://azure.archive.ubuntu.com/ubuntu jammy InRelease
411+
Unknown error executing apt-key
412+
Err:2 http://azure.archive.ubuntu.com/ubuntujammy-updatesInRelease
413+
Unknown error executing apt-key
414+
Err: 3 http://azure.archive.ubuntu.com/ubuntujammy-backports InRelease
415+
Unknown error executing apt-key
416+
5yr: 4 http://azure.archive.ubuntu.com/ubuntujammy-security InRelease
417+
'Unknown error executing apt-key
418+
Reading package lists... Done Building dependency tree... Done Reading state information... Done
419+
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
420+
w: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://azure.archive.ubuntu.com/ubuntu jammy InRelease: Unknown error executing apt-key
421+
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://azure.archive.ubuntu.com/ubuntu jammy-updates InRelease: Unknown error executing apt-key
422+
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://azure.archive.ubuntu.com/ubuntu jammy-backports InRelease: Unknown error executing apt-key
423+
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://azure. archive.ubuntu.com/ubuntu jammy-security InRelease: Unknown error executing apt-key
424+
```
399425
400-
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]
426+
### Cause: Permission issues affecting the keys under `/etc/apt/trusted.gpg.d ` can be seen when running apt with debug flags
427+
428+
```bash
429+
$ sudo apt update -oDebug::Acquire::gpgv=1
430+
...
431+
...
432+
http://azure.archive.ubuntu.com/ubuntu/dists/jammy/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-archive-2018.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
433+
http://azure.archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/microsoft-release.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
434+
http://azure.archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-archive-2012.gpg.are ignored as the file is not readable by user '_ apt' executing apt-key.
435+
...
436+
...
437+
```
438+
439+
#### Solution: Correct permissions to be 644 for the key files under `/etc/apt/trusted.gpg.d` and also check the default umask for your installation
440+
441+
1) Correct permission for the keyring files
442+
```bash
443+
$ sudo chown 644 /etc/apt/trusted.gpg.d/*.gpg
444+
```
445+
446+
2) Check the default umask set by running
447+
```bash
448+
$ sudo umask
449+
```
450+
451+
The default umask for most distros is usually set under `/etc/login.defs` and it is set to 0022. There have been cases where the umask was being set to 0777 which results in null permissions for created files.
452+
</details>

support/azure/virtual-machines/linux/linux-upgrade-sles.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,11 +282,11 @@ Not ready to read within timeout.
282282
Skipping repository 'SLE-Module-HPC12-Updates' because of the above error.
283283
Error retrieving metadata for 'SLE-Module-Legacy12-Pool' :
284284
Not ready to read within timeout.
285-
Skipping repository 'SLE-Module-Legacy12-Pool' because of the above err Error retrieving metadata for 'SLE-Module-Legacy12-Updates' :
285+
Skipping repository 'SLE-Module-Legacy12-Pool' because of the above Error retrieving metadata for 'SLE-Module-Legacy12-Updates' :
286286
Not ready to read within timeout.
287287
Skipping repository 'SLE-Module-Legacy12-Updates' because of the above Error retrieving metadata for 'SLE-Module-Public-Cloud12-Pool' :
288288
Not ready to read within timeout.
289-
Skipping repository 'SLE-Module-Public-Cloud12-Pool' because of the abo Error retrieving metadata for 'SLE-Module-Public-Cloud12-Updates' :
289+
Skipping repository 'SLE-Module-Public-Cloud12-Pool' because of the above Error retrieving metadata for 'SLE-Module-Public-Cloud12-Updates' :
290290
Not ready to read within timeout.
291291
Skipping repository 'SLE-Module-Public-Cloud12-Updates' because of the
292292
````
@@ -550,7 +550,7 @@ You can also find this output in the `/var/log/messages` or `/var/log/distro-mig
550550

551551
### Cause
552552

553-
Midway through 2023, SUSE changed the GPG signing key for the SUSE Linux Enterprise 15 products, and products that are based on them (such asSUSE Enterprise Storage, SUSE Manager, and SUSE CaaSP) to the RSA 4096 bit key, as specified in SUSE article [SUSE Signing Keys](https://www.suse.com/support/security/keys).
553+
Midway through 2023, SUSE changed the GPG signing key for the SUSE Linux Enterprise 15 products, and products that are based on them (such as SUSE Enterprise Storage, SUSE Manager, and SUSE CaaSP) to the RSA 4096 bit key, as specified in SUSE article [SUSE Signing Keys](https://www.suse.com/support/security/keys).
554554

555555
### Resolution
556556

support/azure/virtual-machines/windows/activation-watermark-appears.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ ms.topic: troubleshooting-problem-resolution
1616

1717
This document discusses how to resolve the continued presence of a Windows activation watermark on Microsoft Azure virtual machines.
1818

19+
[!INCLUDE [virtual-machines-windows-activation-troubleshoot-tools](~/includes/azure/virtual-machines-windows-activation-troubleshoot-tools.md)]
20+
1921
## Prerequisites
2022

2123
- [Azure CLI](/cli/azure/install-azure-cli-windows)

support/azure/virtual-machines/windows/custom-routes-enable-kms-activation.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ ms.author: jarrettr
2121

2222
This article describes how to resolve the KMS activation problem that you might experience when you enable forced tunneling in site-to-site VPN connection or ExpressRoute scenarios.
2323

24+
[!INCLUDE [virtual-machines-windows-activation-troubleshoot-tools](~/includes/azure/virtual-machines-windows-activation-troubleshoot-tools.md)]
25+
2426
## Symptom
2527

2628
You enable [forced tunneling](/azure/vpn-gateway/vpn-gateway-forced-tunneling-rm) on Azure virtual network subnets to direct all Internet-bound traffic back to your on-premises network. In this scenario, the Azure virtual machines (VMs) that run Windows fail to activate Windows.

support/azure/virtual-machines/windows/troubleshoot-activation-problems.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ ms.custom: sap:Cannot activate my Windows VM
2121

2222
This article helps you troubleshoot an activation issue that occurs when you create a Microsoft Azure Windows virtual machine (VM).
2323

24+
[!INCLUDE [virtual-machines-windows-activation-troubleshoot-tools](~/includes/azure/virtual-machines-windows-activation-troubleshoot-tools.md)]
25+
2426
## Understanding Azure KMS endpoints for Windows product activation of Azure VMs
2527

2628
Azure uses different endpoints for Key Management Services (KMS) activation depending on the cloud region in which the VM resides. When using this troubleshooting guide, use the appropriate KMS endpoint that applies to your region.

support/azure/virtual-machines/windows/windows-activation-duplicate-client-machine-id.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ We generally recommend using Azure Key Management Services (KMS) servers to acti
1515
> [!NOTE]
1616
> This article applies only when you use a self-hosted KMS server for activation. It doesn't apply when you use Azure KMS for activation.
1717
18+
[!INCLUDE [virtual-machines-windows-activation-troubleshoot-tools](~/includes/azure/virtual-machines-windows-activation-troubleshoot-tools.md)]
19+
1820
## Symptoms
1921

2022
When you use a self-hosted KMS server for activation and try to activate more than one Windows Server VM, the activation fails after the evaluation period, and your self-hosted KMS server reports the following error in the **Duplicate Client Machine ID Report**:

support/azure/virtual-machines/windows/windows-activation-stopped-working.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ ms.custom: sap:Cannot activate my Windows VM
1313

1414
This article discusses important changes that were made to Key Management Services (KMS) IP addresses that cause problems for Microsoft Windows virtual machine (VM) activation in Windows Azure. These changes affect Azure Global cloud users who configured custom routes or firewall rules to allow KMS IP addresses and who were previously able to activate Windows VMs successfully.
1515

16+
[!INCLUDE [virtual-machines-windows-activation-troubleshoot-tools](~/includes/azure/virtual-machines-windows-activation-troubleshoot-tools.md)]
17+
1618
## Overview
1719

1820
#### Who's affected

support/azure/virtual-machines/windows/windows-virtual-machine-activation-faq.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ metadata:
1414
ms.reviewer: cwhitley, jusilver, scotro, v-naqviadil, v-leedennis, v-weizhu
1515
ms.custom: sap:Cannot activate my Windows VM
1616
appliesto: Windows VMs
17-
17+
1818
title: Azure Windows virtual machine activation FAQ
1919
summary: This article answers frequently asked questions (FAQ) about activating a Microsoft Windows virtual machine (VM) in Azure.
2020
sections:
@@ -46,4 +46,5 @@ additionalContent: |
4646
- [Troubleshoot Windows virtual machine activation problems in Azure](./troubleshoot-activation-problems.md)
4747
- [Advanced troubleshooting - Microsoft Windows activation error codes](../../../windows-server/deployment/troubleshoot-activation-error-codes.md)
4848
49+
[!INCLUDE [virtual-machines-windows-activation-troubleshoot-tools](~/includes/azure/virtual-machines-windows-activation-troubleshoot-tools.md)]
4950
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]

0 commit comments

Comments
 (0)