Skip to main content

Azure Insights: Container Insights authentication issues; non-HTTP Azure Functions; Tags and Graph; IoT Hub and PowerShell

by MSDW Reporter
Editorial Team,

Mirosoft Azure pros share their insights on resolving Container Insights authentication issues, triggering Azure Functions with HTTP, Azure Tags and Resource Graph, or deploying IoT Hub with PowerShell.

Fixing authentication problems with Container Insights

Richard Hooper, writing on Pixel Robots described how he setup an Azure Kubernetes Service cluster almost a year ago, before Container Insights was an option. He tried to use it to shed light on his cluster but kept getting error messages before eventually finding a solution. In the Kubernetes cluster, if a user navigates to insights, on the left, and click on Containers under the Monitoring tab they will see a blue button to view live data. Clicking it will prompt users to login, which is usually when the error message crops up.

Essentially, the error indicates that the return address doesn't match any Active Directory app. Hooper recommends going to app registrations in Azure AD and adding two redirect URLs under Authentication. He wrote:

If you head back to your kubernetes cluster and check the live logs as before you should now see live log data. You will probably be asked to sign in again and if it does not work the first time just close your browsers down and try again, sometimes it can help pull the token down.

With this issue sorted out, users can go ahead and view live data.

Working with non-HTTP Azure Functions

FREE Membership Required to View Full Content:

Joining gives you free, unlimited access to news, analysis, white papers, case studies, product brochures, and more. You can also receive periodic email newsletters with the latest relevant articles and content updates.
Learn more about us here

About MSDW Reporter
More about MSDW Reporter