Skip to content

Error when attempting to run script #15

@majorpaynedof

Description

@majorpaynedof

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions