Skip to content

Test-EntraScript not in v1.0.1 #1329

Open
@diecknet

Description

@diecknet

Describe the bug

I installed the newest Microsoft.Entra Module bundle (version 1.0.1), but the cmdlet Test-EntraScript is not available. According to the documentation it should be included.
Docs:
https://learn.microsoft.com/en-us/powershell/entra-powershell/migration-guide?view=entra-powershell&wt.mc_id=MVP_330618#test-compatibility-with-test-entrascript-command
https://learn.microsoft.com/en-us/powershell/module/microsoft.entra/test-entrascript?view=entra-powershell&wt.mc_id=MVP_330618

Error message:

Test-EntraScript: The term 'Test-EntraScript' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

To Reproduce
Steps to reproduce the behavior:

  1. Install Microsoft.Entra
  2. Run Test-EntraScript (not working)
  3. Run other Cmdlets from the module e.g. Connect-Entra (working)

Expected behavior
The cmdlet should be included in the module

Debug Output
not applicable

Module Version

PS C:\> Get-Module Microsoft.Entra*

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Manifest   1.0.1                 Microsoft.Entra
Script     1.0.1                 Microsoft.Entra.Applications        {Add-EntraApplication…
Script     1.0.1                 Microsoft.Entra.Authentication      {Add-EntraEnvironment…
Script     1.0.1                 Microsoft.Entra.DirectoryManagement {Add-EntraAdministrat…
Script     1.0.1                 Microsoft.Entra.Governance          {Enable-EntraAzureADA…
Script     1.0.1                 Microsoft.Entra.Groups              {Add-EntraGroupMember…
Script     1.0.1                 Microsoft.Entra.Reports             {Enable-EntraAzureADA…
Script     1.0.1                 Microsoft.Entra.SignIns             {Enable-EntraAzureADA…
Script     1.0.1                 Microsoft.Entra.Users               {Enable-EntraAzureADA…

Environment Data

PS C:\> $PSversiontable

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

Screenshots

Image

Additional context
none

Metadata

Metadata

Labels

P0Highest priorityenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions