Forum Discussion

bmeade's avatar
bmeade
Copper Contributor
Oct 16, 2023
Solved

Teams SIP Gateway Bulk Sign In Powershell

This article describes using PowerShell to initiate a Bulk Sign In of SIP Devices- https://learn.microsoft.com/en-us/microsoftteams/sip-gateway-configure


NewCsSdgBulkSignInRequest -DeviceDetailsFilePath .\Example.csv -Region APAC

 

However, I don't see NewCsSdgBulkSignInRequest as an available command in the PowerShell MicrosoftTeams 5.6.0 module. I even tried with the 5.6.1 preview module but that command does not exist when running "Get-Command -Module MicrosoftTeams".

 

Is the command wrong or is there another module dependency not mentioned correctly in the article?

  • Hi bmeade,

    To bulk sign in SIP devices in Microsoft Teams using PowerShell 5.6.0 or 5.6.1, you need to install the MicrosoftTeamsAdminCenter module and then run the Connect-MicrosoftTeams cmdlet to connect to the Microsoft Teams Admin Center.

    Once you are connected, you can bulk sign in SIP devices using the New-CsBulkSignInRequest cmdlet. The New-CsBulkSignInRequest cmdlet requires a CSV file that contains the device details for the SIP devices that you want to bulk sign in. The CSV file must contain the following columns:

    • DeviceIdentity: The unique identifier of the SIP device.
    • Password: The password for the SIP device.

    For example, to bulk sign in SIP devices using the CSV file Example.csv, you would run the following PowerShell command:

     

    New-CsBulkSignInRequest -DeviceDetailsFilePath .\Example.csv

     


    Please click Mark as Best Response & Like if my post helped you to solve your issue.
    This will help others to find the correct solution easily. It also closes the item.


    If the post was useful in other ways, please consider giving it Like.


    Kindest regards,


    Leon Pavesic
    (LinkedIn)

  • samHai's avatar
    samHai
    Copper Contributor
    Did you manage to solve this issue by any chance?

    Thanks,
    • bmeade's avatar
      bmeade
      Copper Contributor
      It looks like the main issue I had was the command had a typo in the official Microsoft documentation. The correct command is New-CsSdgBulkSignInRequest whereas the documentation says NewCsSdgBulkSignInRequest.
  • LeonPavesic's avatar
    LeonPavesic
    Silver Contributor

    Hi bmeade,

    To bulk sign in SIP devices in Microsoft Teams using PowerShell 5.6.0 or 5.6.1, you need to install the MicrosoftTeamsAdminCenter module and then run the Connect-MicrosoftTeams cmdlet to connect to the Microsoft Teams Admin Center.

    Once you are connected, you can bulk sign in SIP devices using the New-CsBulkSignInRequest cmdlet. The New-CsBulkSignInRequest cmdlet requires a CSV file that contains the device details for the SIP devices that you want to bulk sign in. The CSV file must contain the following columns:

    • DeviceIdentity: The unique identifier of the SIP device.
    • Password: The password for the SIP device.

    For example, to bulk sign in SIP devices using the CSV file Example.csv, you would run the following PowerShell command:

     

    New-CsBulkSignInRequest -DeviceDetailsFilePath .\Example.csv

     


    Please click Mark as Best Response & Like if my post helped you to solve your issue.
    This will help others to find the correct solution easily. It also closes the item.


    If the post was useful in other ways, please consider giving it Like.


    Kindest regards,


    Leon Pavesic
    (LinkedIn)

    • samHai's avatar
      samHai
      Copper Contributor

      LeonPavesic - we are having the same issue and the following code does not work.

       

      The file has:

      Username,HardwareId
      username,macAddress

       

      The command line does not work with just passing devicepath:

       

       

      New-CsBulkSignInRequest -DeviceDetailsFilePath "C:\Users\username\Desktop\Example.csv" -Region EMEA

       

       

      Anyone has been able to use this command successfully?

       

      Thanks,

      Sam

Resources