Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Azure 100====== <code> cd 'C:\Program Files\Microsoft Monitoring Agent\Agent' .\TestCloudConnection.exe </code> <code> PS C:\Program Files\Microsoft Monitoring Agent\Agent> .\TestCloudConnection.exe Starting Azure Log Analytics connectivity test. Proxy Configuration: None. The agent will directly connect to the Internet. Starting connectivity test for workspace id "940ca5bf-0e96-4772-b5a7-f5d5e6a4edc5". This test may take several minutes to complete if a firewall is blocking access. Making initial connection to 940ca5bf-0e96-4772-b5a7-f5d5e6a4edc5.oms.opinsights.azure.com. This is to download the list of Azure resources neccesary for communication with this specific workspace. Connectivity test passed for all hosts for workspace id "940ca5bf-0e96-4772-b5a7-f5d5e6a4edc5". Successful Connections Firewall Rule: *.agentsvc.azure-automation.net 940ca5bf-0e96-4772-b5a7-f5d5e6a4edc5.agentsvc.azure-automation.net Firewall Rule: *.blob.core.windows.net ncusoiomssa.blob.core.windows.net oincus7476161551.blob.core.windows.net scadvisorcontent.blob.core.windows.net scadvisorcontentpl.blob.core.windows.net Firewall Rule: *.ods.opinsights.azure.com 940ca5bf-0e96-4772-b5a7-f5d5e6a4edc5.ods.opinsights.azure.com Firewall Rule: *.oms.opinsights.azure.com 940ca5bf-0e96-4772-b5a7-f5d5e6a4edc5.oms.opinsights.azure.com </code> <code> cd 'C:\Program Files\Microsoft Monitoring Agent\Agent\Troubleshooter' .\GetAgentInfo.ps1 </code> <code powershell> # Testing... Publish-AzWebApp -ResourceGroupName "ANI-Testing" -Name "ani-tasu-webapp" -Slot "webapp1-testing" -ArchivePath "c:\users\public\Desktop\webapp1\webapp1.zip" </code> <code powershell> $exclude = @("*.log", "*.tmp", "log*.txt") $files = ls -File -Recurse -Exclude $exclude Compress-Archive -Path $files -DestinationPath $home\desktop\webagent.zip </code> <code powershell> # Establish an authenticated session with Azure Connect-AzAccount Publish-AzWebApp -ResourceGroupName "rg-tasu" -Name "app-scus-webagent" -ArchivePath $home\desktop\webagent.zip </code> <code powershell> (curl ifconfig.me).Content </code> pub/tmp/azure100.txt Last modified: 2022/04/06 20:35by mmuze