Intune-Scripts icon indicating copy to clipboard operation
Intune-Scripts copied to clipboard

Error when attempting to run script

Open majorpaynedof opened this issue 2 years ago • 0 comments

Good Morning,

I have received the following error when attempting to run your script [Get-AllAadGroupAssignments.ps1] when i've added #Connect and change schema Connect-MSGraph -ForceInteractive Update-MSGraphEnvironment -SchemaVersion beta Connect-MSGraph

I have to do this to get access to my tenant other wise i always get a needs permission

At line:41 char:7

  • Param()
  •   ~
    

An expression was expected after '('. + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : ExpectedExpression

majorpaynedof avatar Sep 07 '23 14:09 majorpaynedof