+1 vote

I am trying to connect to teams via powershell in adaxes to run the following commands.

Set-CsUser -Identity <UPN> -EnterpriseVoiceEnabled $true -HostedVoiceMail $true Grant-CsOnlineVoiceRoutingPolicy -Identity <UPN> -PolicyName “(policyname)”

Grant-CsCallingLineIdentity -Identity <UPN> -PolicyName "(policyname)"

I am not able to run the following though,


by (140 points)

1 Answer

0 votes
by (228k points)


Have a look at the following script from our repository: https://www.adaxes.com/script-repository/connect-to-microsoft-teams-s615.htm.

Related questions

0 votes
1 answer

When I create a user from adaxes I also want it to be added to MS Teams groups. At this moment i create the account in adaxes after that i need to add this user in all groups that we have in MS Teams so i what to automate this when i create a new usuer.

asked Mar 29 by abisaigomezm (40 points)
+1 vote
1 answer

Hi all, Just wondering how I would go about connecting to Teams using Adaxes? I need to perform the following modifications to users: Set-CsUser -Identity &lt;UPN&gt ... make Adaxes connect to Teams using the Connect-Microsoftteams command and run the above?

asked Feb 24, 2021 by TheLexicon (180 points)
0 votes
1 answer

Is there a way to have a Scheduled Task with 4 different condition? I want to create a scheduled task start every Monday and the condition see: The next Saturday of the week ... of the week is the fifth of the month then no action Thanks in advance, Simone

asked Jan 18 by Simone.Vailati (270 points)
0 votes
1 answer

I am wanting to export a list of users including the properties of a specific custom attribute. Ideally, I would be able to run a get-admuser and filter on a custom attribute, but even an excel report with the custom attributes would work. Is this possible?

asked Sep 9, 2021 by ggallaway (300 points)
0 votes
2 answers

Here we use BambooHR but we only have the conection thrue a group in AD with SML in BambooHR, so can we have a conection way thrue ADAXES to change setings, Examle Manager, Departament etc...

asked Jun 7 by abisaigomezm (40 points)
2,803 questions
2,537 answers
63,147 users