Skip to content

Conversation

@dieterv
Copy link

@dieterv dieterv commented Nov 12, 2025

The Microsoft.Graph.Identity.SignIns module must be imported to be able to create the $messageInfo object. Without the import, the script fails with New-Object: Cannot find type [Microsoft.Graph.PowerShell.Models.MicrosoftGraphInvitedUserMessageInfo]: verify that the assembly containing this type is loaded.

The Microsoft.Graph.Identity.SignIns module must be imported to be able to create the $messageInfo object. Without the import, the script fails with ```New-Object: Cannot find type [Microsoft.Graph.PowerShell.Models.MicrosoftGraphInvitedUserMessageInfo]: verify that the assembly containing this type is loaded.```
@prmerger-automator
Copy link
Contributor

@dieterv : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 406427f:

✅ Validation status: passed

File Status Preview URL Details
docs/external-id/bulk-invite-powershell.md ✅Succeeded

For more details, please refer to the build report.

@v-dirichards v-dirichards requested a review from Copilot November 18, 2025 21:28
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a required module import to fix a runtime error in the PowerShell bulk invite script. Without importing the Microsoft.Graph.Identity.SignIns module, the script fails when attempting to create the $messageInfo object because the necessary type assembly is not loaded.

Key Changes:

  • Adds Import-Module Microsoft.Graph.Identity.SignIns statement to the PowerShell script example

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@v-dirichards
Copy link
Contributor

@csmulligan

Can you review the proposed changes?

Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants