User Review( votes)
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.