SOLVED

I can not Create an application instance in my tenant.

%3CLINGO-SUB%20id%3D%22lingo-sub-1722228%22%20slang%3D%22es-ES%22%3EI%20can%20not%20Create%20an%20application%20instance%20in%20my%20tenant.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1722228%22%20slang%3D%22es-ES%22%3E%3CP%3EI%20want%20to%20record%20calls%20with%20bots%2C%20I%20am%20following%20this%20guide%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2FMicrosoftTeams%2Fteams-recording-policy%23compliance-recording-policy-assignment-and-provisioning%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2FMicrosoftTeams%2Fteams-recording-policy%23compliance-recording-policy-assignment-and-provisioning%3C%2FA%3E%3C%2FFONT%3E%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22error.png%22%20style%3D%22width%3A%20981px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F222661i61F3BEC82EB6E904%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22error.png%22%20alt%3D%22error.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ebut%20it%20does%20not%20work%3C%2FP%3E%3CP%3EPowershell%20version%3A%205.1.19041.1%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eany%20ideas%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1722228%22%20slang%3D%22es-ES%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1726230%22%20slang%3D%22en-US%22%3ERe%3A%20I%20can%20not%20Create%20an%20application%20instance%20in%20my%20tenant.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1726230%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%2F763346%22%20target%3D%22_blank%22%3E%40AngelicaEnriquez88%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20Spanish%20is%20shocking%20but%20I%20translate%20that%20as%20it%20is%20not%20seeing%20that%20as%20a%20valid%20cmdlet.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20in%20the%20first%20instance%20we%20want%20to%20ensure%20that%20we%20have%20the%20required%20module.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20I%20think%20that%20the%20modules%20are%20still%20split%20for%20Teams%20and%20the%20Voice%20side%20of%20Teams.%20So%20I%20would%20ensure%20you%20have%20done%20the%20following%20first%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fenterprise%2Fmanage-skype-for-business-online-with-microsoft-365-powershell%3Fview%3Do365-worldwide%23%3A~%3Atext%3D%2520Connect%2520using%2520an%2520admin%2520account%2520with%2520multi-factor%2Cadd%2520authentication%2520information%252C%2520such%2520as%2520a...%2520More%2520%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fenterprise%2Fmanage-skype-for-business-online-with-microsoft-365-powershell%3Fview%3Do365-worldwide%23%3A~%3Atext%3D%2520Connect%2520using%2520an%2520admin%2520account%2520with%2520multi-factor%2Cadd%2520authentication%2520information%252C%2520such%2520as%2520a...%2520More%2520%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEventually%20this%20will%20be%20merged%20into%20the%20one%20module%2C%20which%20I%20am%20really%20looking%20forward%20to.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHenry%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1726589%22%20slang%3D%22es-ES%22%3ERe%3A%20I%20can%20not%20Create%20an%20application%20instance%20in%20my%20tenant.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1726589%22%20slang%3D%22es-ES%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F693840%22%20target%3D%22_blank%22%3E%40henryarphillips365%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20doesn't%20work%20either%2C%20sorry%20I%20don't%20know%20what%20happens%2C%20I'm%20new%20to%20this.%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22error2.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F222912iAAA524CDC3F4F486%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22error2.png%22%20alt%3D%22error2.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20so%20much!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

I want to record calls with bots, I am following this guide


https://docs.microsoft.com/en-us/MicrosoftTeams/teams-recording-policy#compliance-recording-policy-a...

 
 

error.png

 

but it does not work

Powershell version: 5.1.19041.1

 

any ideas?

 

 

9 Replies
Highlighted

Hi @AngelicaEnriquez88 ,

 

My Spanish is shocking but I translate that as it is not seeing that as a valid cmdlet.

 

So in the first instance we want to ensure that we have the required module. 

 

So I think that the modules are still split for Teams and the Voice side of Teams. So I would ensure you have done the following first:


https://docs.microsoft.com/en-us/microsoft-365/enterprise/manage-skype-for-business-online-with-micr...

 

Eventually this will be merged into the one module, which I am really looking forward to.

Thanks

 

Henry

Highlighted

Hi @henryarphillips365 

It doesn't work either, sorry I don't know what happens, I'm new to this.

 
 
 
 

error2.png

 

Thanks so much!

Highlighted
Highlighted

Hi @henryarphillips365 

Thank you, what you gave me helped me.

 

This works for me:

Import-Module SkypeOnlineConnector
$userCredential = Get-Credential
$sfbSession = New-CSOnlineSession -Credential $userCredential -OverridePowerShellUri "https://______.online.lync.com/OcsPowershellOAuth" -Verbose

 

but I have a other problem, 

I tried whit:

 Enable-PSRemoting, but same error

AngelicaEnriquez88_0-1601583098813.png

 

error_WinRM.png

 

Any idea? or I need to open a new issue?

Thanks so much in advance!

 

Highlighted

Hi @AngelicaEnriquez88 ,

 

That looks like an access denied.

Just to be sure or if you can even. Can you specify your credentials as *@tenantname.onmicrosoft.com

 

Of course you will need to switch out the * and the tenantname for your username and tenant.

Just to confirm this is what I can do to connect in case it helps:

$session = New-CsOnlineSession

Import-PSSession $session -AllowClobber

 

Thanks

 

Henry

 

Thanks

 

Henry

Highlighted

Hi @henryarphillips365, Thank you, it was so helpful to me.
However, I still can't create the instance.

 

I executed:

$session = New-CsOnlineSession

Import-PSSession $session -AllowClobber

then:

 

error3.png

I don't know what my mistake

I also tried it with:

 

During my test, we need below steps to connect to Skype for Business Online:
1. Downloading and installing Windows PowerShell
2. Downloading and installing LyncOnlinePowershell.exe, then open Windows PowerShell with administrator, and run "Import-Module LyncOnlineConnector".
3. Then start to build connection with your Office 365 credential:
$credential = Get-Credential$session = New-CsOnlineSession -Credential $credential -Verbose Import-PSSession $session
https://social.technet.microsoft.com/Forums/msonline/en-US/22a77b89-b113-4cad-9544-964abf696cbb/unable-to-connect-to-skype-for-business-online-office-365-tenant-using-powershell-or-control-panel?forum=onlineservicesmigrationandcoexistence#2570e442-8a35-4b7c-86ec-0df89f993839
 

I try to run again, but it tells me that it is in use, then I search if there is an instance, it does not bring results either.error3.png

 

I honestly don't know what to do anymore. I even created a new app in azure, I gave it privileges, I uploaded the certificate, the user I use here is the owner.

 

Highlighted
Best Response confirmed by AngelicaEnriquez88 (Occasional Contributor)
Solution

Hi @AngelicaEnriquez88 ,

 

Bit worried about the mention of PowerShell 3.0 :)

Try looking to:

https://docs.microsoft.com/en-us/MicrosoftTeams/teams-powershell-overview#:~:text=Microsoft%20Teams%...

 

and

 

https://www.powershellgallery.com/packages/MicrosoftTeams/1.1.6

 

The above is basically a version of the Teams PowerShell module that incorporates the two and should remove the need for a separate Lync/Skype Module.

So see if it lets you load this module and create a new-csonline session from there.

 

Thanks

 

Henry

Highlighted

Hi @henryarphillips365 sorry the powerShell version is 5.1 :D.

Same result and I uninstalled Skype for Business Online Connector

AngelicaEnriquez88_0-1601944090021.png

 

Thanks

Angie

 

Highlighted

Hi @henryarphillips365 

I could already create the instance

Thanks so much!!!

 

My instance problem was the name, I changed it and it worked for me.
I used Teams PowerShell module as you suggested.

thanks, again!!