New sfb Online user and covert to a Teams Only Mode

%3CLINGO-SUB%20id%3D%22lingo-sub-2441709%22%20slang%3D%22en-US%22%3ENew%20sfb%20Online%20user%20and%20covert%20to%20a%20Teams%20Only%20Mode%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2441709%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20I'm%20trying%20to%20create%20a%20new%20script%20to%20set%20up%20a%20new%20user%20for%20sfb%20online%20and%20then%20convert%20to%20a%20Teams-only%20mode.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENoticed%20required%20to%20wait%2015-20%20min%20for%20the%20user%20to%20appear%20online.%20So%20what%20is%20the%20best%20way%20of%20converting%20that%20sfb%20online%20user%20to%20Teams%20in%20the%20same%20script%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20for%20our%20Helpdesk%20team%20to%20set%20up%20new%20users.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESFB%20Online%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3E%26nbsp%3BEnable-CsUser%20-Identity%20%24UserName%20-SipAddressType%20Emailaddres%26nbsp%3BHostingProviderProxyFqdn%20'sipfed.online.lync.com'%20-DomainController%20'xxxx'%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThen%20I%20can%20run%20the%20Invoke-command%20to%20ADSync.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3EInvoke-command%20-ComputerName%20'xxxxx'%20-ScriptBlock%20%7B%20Start-AdSyncSyncCycle%20%7D%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENeed%20to%20connect%20to%20Microsoft%20teams%20and%26nbsp%3BSet%20user%20account%20for%20Microsoft%20Teams%20*only*%26nbsp%3B%3C%2FP%3E%3CP%3ETeams%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3EGrant-CsTeamsUpgradePolicy%20-Identity%20%24UserName%20-PolicyName%20'UpgradeToTeams'%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EAS%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2441709%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESkye%20For%20Business%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2442303%22%20slang%3D%22en-US%22%3ERe%3A%20New%20sfb%20Online%20user%20and%20covert%20to%20a%20Teams%20Only%20Mode%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2442303%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F772771%22%20target%3D%22_blank%22%3E%40AusSupport180%3C%2FA%3E%26nbsp%3BThis%20doc%20was%20just%20updated%20-%20does%20it%20help%3F%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fskypeforbusiness%2Fhybrid%2Fmove-users-from-on-premises-to-teams%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EMove%20users%20from%20Skype%20for%20Business%20Server%202019%20to%20Teams%20-%20Skype%20for%20Business%20Hybrid%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

Hi All,

 

    I'm trying to create a new script to set up a new user for sfb online and then convert to a Teams-only mode. 

 

Noticed required to wait 15-20 min for the user to appear online. So what is the best way of converting that sfb online user to Teams in the same script?

 

This is for our Helpdesk team to set up new users.  

 

SFB Online:

 

 Enable-CsUser -Identity $UserName -SipAddressType Emailaddres HostingProviderProxyFqdn 'sipfed.online.lync.com' -DomainController 'xxxx'

 

Then I can run the Invoke-command to ADSync.

 

 

Invoke-command -ComputerName 'xxxxx' -ScriptBlock { Start-AdSyncSyncCycle }

 

 

Need to connect to Microsoft teams and Set user account for Microsoft Teams *only* 

Teams:

 

Grant-CsTeamsUpgradePolicy -Identity $UserName -PolicyName 'UpgradeToTeams'

 

 

Regards,

AS

 

4 Replies
No, I'm looking for a way of setting up new users.
May I ask why you would set them up and then switch them versus just creating the account and licensing it for teams from the get go?
Coexistence mode is Island
www.000webhost.com