Skip to content

Conversation

@DButoyez
Copy link
Collaborator

@DButoyez DButoyez commented Jun 11, 2025

We've identified an issue with the New-EntraServicePrincipalKeyCredential command in the Entra PowerShell module. While the documentation exists, the command itself does not seem to be implemented.

Here are the details:

Documentation Link: https://github.com/microsoftgraph/entra-powershell/blob/main/module/docs/entra-powershell-v1.0/Applications/New-EntraServicePrincipalKeyCredential.md

Issue: The command New-EntraServicePrincipalKeyCredential is not recognized as a valid cmdlet, function, script file, or executable program in the Entra module version 1.0.5. However, the Get-EntraServicePrincipalKeyCredential command works as expected.

Fixes #1453

@learn-build-service-prod
Copy link

Learn Build status updates of commit c906d57:

✅ Validation status: passed

File Status Preview URL Details
module/Entra/Microsoft.Entra/Applications/New-EntraServicePrincipalKeyCredential.ps1 ✅Succeeded
module/EntraBeta/Microsoft.Entra.Beta/Applications/New-EntraBetaServicePrincipalKeyCredential.ps1 ✅Succeeded

For more details, please refer to the build report.

@learn-build-service-prod
Copy link

Learn Build status updates of commit 37be4b6:

✅ Validation status: passed

File Status Preview URL Details
module/Entra/Microsoft.Entra/Applications/New-EntraServicePrincipalKeyCredential.ps1 ✅Succeeded
module/EntraBeta/Microsoft.Entra.Beta/Applications/New-EntraBetaServicePrincipalKeyCredential.ps1 ✅Succeeded
test/Entra/Applications/New-EntraServicePrincipalKeyCredential.Tests.ps1 ✅Succeeded

For more details, please refer to the build report.

@learn-build-service-prod
Copy link

Learn Build status updates of commit f8e26c2:

❌ Validation status: errors

Please follow instructions here which may help to resolve issue.

File Status Preview URL Details
❌Error Details

  • Line 0, Column 0: [Error: download-failed] Download failed for file 'https://opdhsblobprod03.blob.core.windows.net/contents/0e7c70ab16fb40c99c4377c036d9bd97/0536b2b7bad9fa49538eb4ecb40abdf9'. Try closing and reopening the PR. If you get this Error again, file an issue.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

@learn-build-service-prod
Copy link

@DButoyez DButoyez marked this pull request as ready for review June 13, 2025 06:30
@DButoyez DButoyez requested a review from a team as a code owner June 13, 2025 06:30
@learn-build-service-prod
Copy link

@DButoyez DButoyez added the Ready For Review The PR Ready for Review label Jun 16, 2025
Derrick Butoyi added 2 commits June 18, 2025 08:38
@learn-build-service-prod
Copy link

@KenitoInc KenitoInc force-pushed the dbutoyi/New-EntraServicePrincipalKeyCredential branch from ecb7f5b to a8fc2a8 Compare June 24, 2025 04:49
@learn-build-service-prod
Copy link

@KenitoInc KenitoInc force-pushed the dbutoyi/New-EntraServicePrincipalKeyCredential branch from a8fc2a8 to 5344dc5 Compare June 27, 2025 14:39
@learn-build-service-prod
Copy link

Learn Build status updates of commit 5344dc5:

❌ Validation status: errors

Please follow instructions here which may help to resolve issue.

File Status Preview URL Details
❌Error Details

  • Line 0, Column 0: [Error: PSMD2Yaml_InternalError] Internal Error: PowerShell script not found: C:\Program Files\docs-pipeline\Scripts\Get-InstalledPlatyPSVersion.ps1

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

@learn-build-service-prod
Copy link

Learn Build status updates of commit b77ac96:

❌ Validation status: errors

Please follow instructions here which may help to resolve issue.

File Status Preview URL Details
❌Error Details

  • Line 0, Column 0: [Error: PSMD2Yaml_DirectoryNotFound] Directory not found: Error when processing package root entra-powershell-v1.0

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

@learn-build-service-prod
Copy link

Learn Build status updates of commit 3f27976:

❌ Validation status: errors

Please follow instructions here which may help to resolve issue.

File Status Preview URL Details
❌Error Details

  • Line 0, Column 0: [Error: PSMD2Yaml_DirectoryNotFound] Directory not found: Error when processing package root entra-powershell-v1.0

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

@learn-build-service-prod
Copy link

Learn Build status updates of commit 6cfcf8d:

❌ Validation status: errors

Please follow instructions here which may help to resolve issue.

File Status Preview URL Details
❌Error Details

  • Line 0, Column 0: [Error: PSMD2Yaml_DirectoryNotFound] Directory not found: Error when processing package root entra-powershell-v1.0

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

@learn-build-service-prod
Copy link

Learn Build status updates of commit b6d7593:

❌ Validation status: errors

Please follow instructions here which may help to resolve issue.

File Status Preview URL Details
❌Error Details

  • Line 0, Column 0: [Error: PSMD2Yaml_FileLoadFailed] Failed to load file: C:/LocalRun/W/darx-s/module/mapping/monikerMapping.json. PackageRoot, ReferenceTocUrl, and ConceptualTocUrl are required for every moniker. PackageRoot should be a valid relative path to docset root.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

@learn-build-service-prod
Copy link

Learn Build status updates of commit 655c361:

❌ Validation status: errors

Please follow instructions here which may help to resolve issue.

File Status Preview URL Details
❌Error Details

  • Line 0, Column 0: [Error: PSMD2Yaml_FileLoadFailed] Failed to load file: C:/LocalRun/W/q4kn-s/module/mapping/monikerMapping.json. PackageRoot, ReferenceTocUrl, and ConceptualTocUrl are required for every moniker. PackageRoot should be a valid relative path to docset root.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

@KenitoInc KenitoInc merged commit 7450a3c into main Jul 16, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready For Review The PR Ready for Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 Implement New-EntraServicePrincipalKeyCredential cmdlet

3 participants