Link to home
Start Free TrialLog in
Avatar of Jay Choo
Jay Choo

asked on

get-msolpasswordpolicy error

Hi guys,

I cant seems to find the root cause of this error

Get-MsolPasswordPolicy : Unknown error occurred.
At line:1 char:1
+ Get-MsolPasswordPolicy
+ ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [Get-MsolPasswordPolicy], MicrosoftOnlineException
    + FullyQualifiedErrorId : Microsoft.Online.Administration.Automation.DomainNotRootException,Microsoft.Online.Admin
   istration.Automation.GetPasswordPolicy

Anyone met with this before? Is it because the domain name is not the root domain as I am trying to get the password policy for the sub domain.
ASKER CERTIFIED SOLUTION
Avatar of Shaun Hardneck
Shaun Hardneck
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jay Choo
Jay Choo

ASKER

Hi,

I specified. basically, i have 2 domains found in my O365

1) abc.com
2) test.abc.com

If i run the get-msolpasswordpolicy with abc.com domain result is ok

but when i run the command with test.abc.com, i get the error above. any idea?

both domain are verified in my O365