Skip to content

Commit 99c7a7c

Browse files
authored
Merge pull request #69144 from georgewallace/gw_iphelper
adding iphelper troubleshooting
2 parents f13517e + 9662af4 commit 99c7a7c

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

articles/automation/troubleshoot/shared-resources.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to troubleshoot issues with Azure Automation shared resou
44
services: automation
55
author: georgewallace
66
ms.author: gwallace
7-
ms.date: 02/22/2019
7+
ms.date: 03/12/2019
88
ms.topic: conceptual
99
ms.service: automation
1010
manager: carmonm
@@ -133,6 +133,30 @@ To create or update a Run As account, you must have appropriate permissions to t
133133

134134
If the issue is because of a lock, verify that the lock is ok to remove it. Then navigate to the resource that is locked, right-click the lock and choose **Delete** to remove the lock.
135135

136+
### <a name="iphelper"></a>Scenario: You receive the error "Unable to find an entry point named 'GetPerAdapterInfo' in DLL 'iplpapi.dll'" when executing a runbook.
137+
138+
#### Issue
139+
140+
When executing a runbook you receive the following exception:
141+
142+
```error
143+
Unable to find an entry point named 'GetPerAdapterInfo' in DLL 'iplpapi.dll'
144+
```
145+
146+
#### Cause
147+
148+
This error is most likely caused by an incorrectly configured [Run As Account](../manage-runas-account.md).
149+
150+
#### Resolution
151+
152+
Make sure your [Run As Account](../manage-runas-account.md) is properly configured. Once it is configured correctly, ensure you have the proper code in your runbook to authenticate with Azure. The following example shows a snippet of code to authenticate to Azure in a runbook using a Run As Account.
153+
154+
```powershell
155+
$connection = Get-AutomationConnection -Name AzureRunAsConnection
156+
Connect-AzureRmAccount -ServicePrincipal -Tenant $connection.TenantID `
157+
-ApplicationID $connection.ApplicationID -CertificateThumbprint $connection.CertificateThumbprint
158+
```
159+
136160
## Next steps
137161

138162
If you didn't see your problem or are unable to solve your issue, visit one of the following channels for more support:

0 commit comments

Comments
 (0)