microsoft / Microsoft-Defender-for-Identity

Additional resources to improve customer experience with Microsoft Defender for Identity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug

hazem1982 opened this issue · comments

The first time i run the script it worked fine. Later on after 3 days i tried to run it again and i keep getting this error msg

You cannot call a method on a null-valued expression.
At line:1 char:5

  • if ($PSCmdlet.ShouldProcess($Domain, 'Create MDI related configuratio ...
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [], RuntimeException
    • FullyQualifiedErrorId : InvokeMethodOnNull