Add-MSContactsFromMigrationToModuleItem

Takes a User Migration, converts it to a Contact, then adds that Contact to an App,User,Device etc

Syntax


Add-MSContactsFromMigrationToModuleItem -Module (String) -InstanceId (Int32) -MigrationId (Int32) -ContactTypeId (Int32)

Add-MSContactsFromMigrationToModuleItem -Module (String) -InstanceId (Int32) -MigrationId (Int32) -ContactTypeName (String)

Examples


## Add contact converted from User Migration Id 1000 to Application Id 2000 with a contact type name of 'UAT Contact'
## Contact types (and Ids) can be found under Administration\[Module]\Menu Items - MenuGroup: ContactType. Ids are hidden by default, make sure to add the column.
Add-MSContactsFromMigrationToModuleItem -Module Applications -InstanceId 2000 -MigrationId 1000 -ContactTypeName 'UAT Contact'

## Add contact converted from User Migration Id 19327 to Application Id 2989 with contact type Id of 16
## Contact types (and Ids) can be found under Administration\[Module]\Menu Items - MenuGroup: ContactType. Ids are hidden by default, make sure to add the column.
Add-MSContactsFromMigrationToModuleItem -Module Applications -InstanceId 2989 -MigrationId 19327 -ContactTypeId 16