Search This Blog

Thursday, January 28, 2016

Everything you needs to know on Powershell Lync RGS

http://www.skypeadmin.com/2014/08/01/draft-lync-interactive-response-group-creation-and-modification-via-powershell/

As you know RGS IVR GUI is limited only to 4 Options and 2 levels , if you want to overcome you need to use powershell. Well you can pre-create a skeleton in GUI and then add Option in PS. Something like this:


$workflow = Get-CsRgsWorkflow -Identity service:ApplicationServer:fepool.contoso.com/ea0c81cc-50df-4b8d-a488-8737f2200ed1

$MainMenu = Get-CsRgsQueue -Identity service:ApplicationServer:fepool.contoso.com -Name "Main Number Menu - forward"
$ActionA8 = New-CsRgsCallAction -Action TransferToQueue -QueueID $MainMenu.Identity        
$Answer8 = New-CsRgsAnswer -Action $ActionA8 -DtmfResponse 8


$workflow.DefaultAction.Question.AnswerList.Add($Answer8)

Set-CsRgsWorkflow $workflow

Thursday, January 7, 2016

Install and use IIS Advanced logging

In case you want to debug IIS based application you can uise Advanced logging:

Download and install http://www.microsoft.com/en-us/download/details.aspx?id=7211

Enable it in IIS Manager - it is disabled by default.



Common error in ADFS configuration and MSCRM IFD

According to PowerObjects there is a common error in CRM internet-facing deployment:






So you need to go to ADFS console and change Federation Service Properties - Federation Service Identifier to

https://adfs.domain.com/adfs/services/trust


Then iisreset on ADFS, then on CRM server re.run Claims configuration. Do not change anything, just re.run wizard, then iisreset, re.run IDF wizard, iisreset once more and then test.

You should see a following event in the evenlog:


Log Name:      Application
Source:        MSCRMPlatform
Date:          07.01.2016 18:01:44
Event ID:      17209
Task Category: None
Level:         Information
Keywords:      Classic,Audit Success
User:          N/A
Computer:      server
Description:
The initialization of the CRM authentication pipline has succeeded for: GetServiceConfiguration - Initialization:
Host:
Request Url:
LogFederationProviders - Federation Provider:  - Name: https://adfs.domain.com/adfs/services/trust
AddAudienceUri - Audience Uri: https://crm.domain.com/
AddAudienceUri - Audience Uri: https://auth.domain.com/