From 30c428711e7d413d6327a33e3b369504f5e237f8 Mon Sep 17 00:00:00 2001 From: Minh Anh Date: Mon, 5 May 2025 14:02:23 -0700 Subject: [PATCH 1/2] update most current taxnonomy for entra --- eng/common/scripts/Test-SampleMetadata.ps1 | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/eng/common/scripts/Test-SampleMetadata.ps1 b/eng/common/scripts/Test-SampleMetadata.ps1 index 5f1c3dcd08c5..e2a76ccd943d 100644 --- a/eng/common/scripts/Test-SampleMetadata.ps1 +++ b/eng/common/scripts/Test-SampleMetadata.ps1 @@ -95,14 +95,11 @@ end { } begin { - # https://review.learn.microsoft.com/help/platform/metadata-taxonomies?branch=main#product + # https://taxonomy.learn.microsoft.com/TaxonomyServiceAdminPage/#/taxonomy/ $productSlugs = @( "ai-builder", "aspnet", "aspnet-core", - "azure-active-directory", - "azure-active-directory-b2c", - "azure-active-directory-domain", "azure-advisor", "azure-ai-content-safety", "azure-analysis-services", @@ -365,6 +362,16 @@ begin { "dynamics-talent-onboard", "ef-core", "ef6", + "entra", + "entra-external-id", + "entra-id", + "entra-id-protection", + "entra-identity-governance", + "entra-internet-access", + "entra-permissions-management", + "entra-private-access", + "entra-verified-id", + "entra-workload-identities", "expression-studio", "language-service", "m365-ems", From f40ac9018df88189f9aa05be1b039df2e8753da6 Mon Sep 17 00:00:00 2001 From: Minh Anh Date: Mon, 5 May 2025 14:14:02 -0700 Subject: [PATCH 2/2] update link --- eng/common/scripts/Test-SampleMetadata.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/common/scripts/Test-SampleMetadata.ps1 b/eng/common/scripts/Test-SampleMetadata.ps1 index e2a76ccd943d..0b475455cdee 100644 --- a/eng/common/scripts/Test-SampleMetadata.ps1 +++ b/eng/common/scripts/Test-SampleMetadata.ps1 @@ -73,7 +73,7 @@ process { Write-Error "File '$($file.FullName)' contains invalid product slug: $product" -TargetObject $file ` -Category InvalidData -CategoryTargetName $product -CategoryTargetType string ` - -RecommendedAction 'Use only product slugs listed at https://review.learn.microsoft.com/help/platform/metadata-taxonomies?branch=main#product' + -RecommendedAction 'Use only product slugs listed at https://taxonomy.learn.microsoft.com/TaxonomyServiceAdminPage/#/taxonomy/' } } @@ -516,7 +516,7 @@ Checks sample markdown files' frontmatter for invalid information. .DESCRIPTION Given a collection of markdown files, their frontmatter - if present - is checked for invalid information, including: -Invalid product slugs, i.e. those not listed in https://review.learn.microsoft.com/help/platform/metadata-taxonomies?branch=main#product. +Invalid product slugs, i.e. those not listed in https://taxonomy.learn.microsoft.com/TaxonomyServiceAdminPage/#/taxonomy/. .PARAMETER Path Specifies the path to an item to search. Wildcards are permitted.