Windows Azure BizTalk Service Powershell Cmdlets – (407) Proxy Authentication Error

Posted: October 9, 2013  |  Categories: BizTalk Uncategorized
Tags:

I had to use the Windows Azure BizTalk Service Cmdlets to start a Bridge source but i kept getting this error;

Windows PowerShell

Copyright (C) 2012 Microsoft Corporation. All rights reserved.

PS C:\Windows\system32> Import-module "C:\Program Files\Windows Azure BizTalk Services SDK\Microsoft.BizTalk.Services.Powershell.dll"

PS C:\Windows\system32> Get-AzureBizTalkBridge

cmdlet Get-AzureBizTalkBridge at command pipeline position 1

Supply values for the following parameters:

AcsNamespace: markbriacs

IssuerName: owner

IssuerKey: notmykey

DeploymentUri: https://markbribtservices.biztalk.windows.net/default

Get-AzureBizTalkBridge : The remote server returned an error: (407) Proxy Authentication Required.

At line:1 char:1

+ Get-AzureBizTalkBridge

+ ~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : PermissionDenied: (:) [Get-AzureBizTalkBridge], BizTalkServicesCmdletException

    + FullyQualifiedErrorId : AuthenticationFailure,Microsoft.BizTalk.Services.PowerShell.GetAzureBizTalkBridgeCmdlet

I got this error because I am behind a corporate proxy server. I solved this problem by adding the lines below to the powershell.exe.config.

<configuration>

<startup useLegacyV2RuntimeActivationPolicy="true">

<supportedRuntime version="v4.0.30319"/>

<supportedRuntime version="v2.0.50727"/>

</startup>

<system.net>

<defaultProxy useDefaultCredentials="true">

<proxy bypassonlocal="True" usesystemdefault="True"/>

</defaultProxy>

</system.net>

</configuration>

turbo360

Back to Top