-
Notifications
You must be signed in to change notification settings - Fork 102
Description
This is in regards to the azure deployment template.
First, we have restrictions on where to deploy (Eu West and Global).
Even when i set the location to EU West i see that the code is still trying to create resources in US West.
In the Azure arm template I can se a reference to US West, and even though I have tried to change that it still is trying to use US West.
I have tried to deploy this in different regions (turned of our restrictions) but still it fails everytime on the Microsoft.BotService/botservices/Channels (internal server error).
I will note that I'm very novice around this stuff but I think I have followed every instruction.
Error:
{
"status": "Failed",
"error": {
"code": "UnknownError",
"message": "An unexpected error occurred. Exception: 'System.AggregateException: One or more errors occurred. ---> SkypeApsAdapter.SkypeApsAdapterException: Agent failed APS validation. ---> System.ArgumentException: UserTileExtraLargeUrl must use HTTPS.\r\n at Microsoft.Skype.Platform.AgentProvisioning.Contracts.ValidationHelper.ValidateUrl(Uri uri, Boolean allowNull, String name, Boolean requireHttpsScheme) in D:\a\_work\179\s\AgentProvisioning\Contracts\ValidationHelper.cs:line 84\r\n at Microsoft.Skype.Platform.AgentProvisioning.Contracts.AgentValidation.Validate(AgentDescriptionSkypeChannel agentDescription) in D:\a\_work\179\s\AgentProvisioning\Contracts\AgentHelper.cs:line 157\r\n at Microsoft.Skype.Platform.AgentProvisioning.Contracts.AgentValidation.Validate(AgentSkypeChannel agent) in D:\a\_work\179\s\AgentProvisioning\Contracts\AgentHelper.cs:line 149\r\n at SkypeApsAdapter.ApsAdapter.MergeAndNewAgent(Agent2 existingAgent, BotService bot, String botHistoryType, Boolean trackExceptions) in C:\__w\1\s\SkypeApsAdapter\ApsAdapter.cs:line 109\r\n --- End of inner exception stack trace ---\r\n at SkypeApsAdapter.ApsAdapter.MergeAndNewAgent(Agent2 existingAgent, BotService bot, String botHistoryType, Boolean trackExceptions) in C:\__w\1\s\SkypeApsAdapter\ApsAdapter.cs:line 116\r\n at SkypeApsAdapter.ApsAdapter.d__2.MoveNext() in C:\__w\1\s\SkypeApsAdapter\ApsAdapter.cs:line 42\r\n --- End of inner exception stack trace ---\r\n at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\r\n at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)\r\n at Intercom.Helpers.TaskUtility.PropagateExceptions(Task task) in C:\__w\1\s\Utilities\Intercom.Helpers.Extensions\TaskUtility.cs:line 77\r\n at Intercom.Helpers.Concurrency.<>c__DisplayClass3_01.<_handleStatusCodes>b__0(Task
1 antecedent) in C:\__w\1\s\Utilities\Intercom.Helpers.Tasks\Concurrency.cs:line 61\r\n at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke()\r\n at System.Threading.Tasks.Task.Execute()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Intercom.Channels.Controllers.Skype.ApsAgentManager.<GetOrNewAgentAsync>d__3.MoveNext() in C:\\__w\\1\\s\\Intercom.Channels\\Controllers\\Skype\\ApsAgentManager.cs:line 48\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Intercom.Channels.Controllers.Skype.ApsAgentManager.<UpdateOrNewAgentAsync>d__4.MoveNext() in C:\\__w\\1\\s\\Intercom.Channels\\Controllers\\Skype\\ApsAgentManager.cs:line 66\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Intercom.Channels.Controllers.Shared.FirstPartyChannelConfigHelperBase
1.d__15.MoveNext() in C:\__w\1\s\Intercom.Channels\Controllers\Shared\FirstPartyChannelConfigHelperBase.cs:line 188\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Intercom.Channels.Controllers.Shared.FirstPartyChannelConfigHelperBase1.<UpdateConfigSettings>d__9.MoveNext() in C:\\__w\\1\\s\\Intercom.Channels\\Controllers\\Shared\\FirstPartyChannelConfigHelperBase.cs:line 80\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.ConfiguredTaskAwaitable
1.ConfiguredTaskAwaiter.GetResult()\r\n at Intercom.ResourceProvider.Channels.TeamsArmChannelManager.d__4.MoveNext() in C:\__w\1\s\Intercom.ResourceProvider\Channels\TeamsArmChannelManager.cs:line 58\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()\r\n at Intercom.ResourceProvider.Channels.BaseTypedArmChannelManager
3.d__8.MoveNext() in C:\__w\1\s\Intercom.ResourceProvider\Channels\ArmChannelManager.cs:line 309\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()\r\n at Intercom.ResourceProvider.DataProviders.ChannelResourceDataProvider.d__9.MoveNext() in C:\__w\1\s\Intercom.ResourceProvider\DataProviders\ChannelResourceDataProvider.cs:line 113\r\n---> (Inner Exception #0) SkypeApsAdapter.SkypeApsAdapterException: Agent failed APS validation. ---> System.ArgumentException: UserTileExtraLargeUrl must use HTTPS.\r\n at Microsoft.Skype.Platform.AgentProvisioning.Contracts.ValidationHelper.ValidateUrl(Uri uri, Boolean allowNull, String name, Boolean requireHttpsScheme) in D:\a\_work\179\s\AgentProvisioning\Contracts\ValidationHelper.cs:line 84\r\n at Microsoft.Skype.Platform.AgentProvisioning.Contracts.AgentValidation.Validate(AgentDescriptionSkypeChannel agentDescription) in D:\a\_work\179\s\AgentProvisioning\Contracts\AgentHelper.cs:line 157\r\n at Microsoft.Skype.Platform.AgentProvisioning.Contracts.AgentValidation.Validate(AgentSkypeChannel agent) in D:\a\_work\179\s\AgentProvisioning\Contracts\AgentHelper.cs:line 149\r\n at SkypeApsAdapter.ApsAdapter.MergeAndNewAgent(Agent2 existingAgent, BotService bot, String botHistoryType, Boolean trackExceptions) in C:\__w\1\s\SkypeApsAdapter\ApsAdapter.cs:line 109\r\n --- End of inner exception stack trace ---\r\n at SkypeApsAdapter.ApsAdapter.MergeAndNewAgent(Agent2 existingAgent, BotService bot, String botHistoryType, Boolean trackExceptions) in C:\__w\1\s\SkypeApsAdapter\ApsAdapter.cs:line 116\r\n at SkypeApsAdapter.ApsAdapter.d__2.MoveNext() in C:\__w\1\s\SkypeApsAdapter\ApsAdapter.cs:line 42<---\r\n'."
}
}