Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get-Command : The term 'Get-ServicePrincipalOwner' is not recognized as the name of a cmdlet, function, script file #9

Closed
mezzofix opened this issue Apr 8, 2024 · 1 comment

Comments

@mezzofix
Copy link

mezzofix commented Apr 8, 2024

Hi, getting the following error when trying to import BARK:

Get-Command : The term 'Get-ServicePrincipalOwner' is not recognized as the name of a cmdlet, function, script file,
or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
try again.
At C:\foo\BARK\BARK.ps1:1556 char:66
+ ... nition' -Value (Get-Command -Name "Get-ServicePrincipalOwner") -Force
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Get-ServicePrincipalOwner:String) [Get-Command], CommandNotFoundExcepti
   on
    + FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand

Get-Command : The term 'New-AppRegSecret' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At C:\foo\BARK\BARK.ps1:2098 char:57
+ ... ecretDefinition' -Value (Get-Command -Name "New-AppRegSecret") -Force
+                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (New-AppRegSecret:String) [Get-Command], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand

Please assist.

Thank you!

@andyrobbins
Copy link
Contributor

Sorry about that, @mezzofix. This is fixed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants