Skip to content

posts/teams-sso-powershell #3

Closed

Description

@TechWatching

Written on 13/06/2020 15:08:48

URL: https://techwatching.dev/posts/teams-sso-powershell

Activity

  1. TechWatching commented on Oct 19, 2021

    @TechWatching
    OwnerAuthor

    Comment written by Patrick Lemieux on 06/08/2020 20:28:02

    Really Good article. Quick question... When I run the following command, I receive this error message :

    $preAuthorizedApplications = New-Object 'System.Collections.Generic.List[Microsoft.Open.MSGraph.ModePreAuthorizedApplication]'
    New-Object : Cannot find type [System.Collections.Generic.List[Microsoft.Open.MSGraph.ModePreAuthorizedApplication]]: verify that the assembly containing this type is loaded.
    At line:1 char:30
    + ... lications = New-Object 'System.Collections.Generic.List[Microsoft.Ope ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidType: (:) [New-Object], PSArgumentException
    + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand

    Any idea why?

  2. TechWatching commented on Oct 19, 2021

    @TechWatching
    OwnerAuthor

    Comment written by Alexandre on 06/08/2020 23:34:27

    I guess it's because you did not install /import AzureAD module (see the final script https://github.com/TechWatc...

  3. changed the title [-]Automate configuration of Teams Tab SSO with PowerShell.[/-] [+]posts/teams-sso-powershell[/+] on Oct 20, 2021
  4. Repository owner locked and limited conversation to collaborators on Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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