Authentication issues
mmajcica opened this issue · comments
I followed the documentation to the letter and used your template do deploy the dfm in my rg.
I am facing an issue with authentication and can't understand what is happening.
Following is what I do see, I'm not sure if this is a 401 for what concerns my user auth or something else.
I have created the app registration as suggested and made sure the right client id is passed to the template.
This is what I do get to see in detail
Any ideas on what can be wrongly setup?
Thanks
Hi @mmajcica, what is happening is that the given user is not allowed to access your DfMon endpoint. DfMon's Function App's logs should give more details.
![](https://private-user-images.githubusercontent.com/5447190/284931945-7655c987-f0f5-4ea8-a39f-0c38fd079455.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE3MjkyMTgsIm5iZiI6MTcyMTcyODkxOCwicGF0aCI6Ii81NDQ3MTkwLzI4NDkzMTk0NS03NjU1Yzk4Ny1mMGY1LTRlYTgtYTM5Zi0wYzM4ZmQwNzk0NTUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjNUMTAwMTU4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YmNkNDgwMGJhMGQzZjZlNjcxOWFkNTViYzQ0NDQyMTIzNTNmNzIzYmUwMWMwNjIzYTk1YzQwYjQzZGYyY2Q3NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.xfYUx2lwXMJ4wI-3MPVA32gQji4aQ94cqEu3vRn9r7U)
Can you check them?
Also can you confirm that the user visible on your screenshot is the correct user (is a part of your AAD tenant) and that it is either added to DFM_ALLOWED_USER_NAMES
setting or that setting is left empty ?
It is working as expected. Seems there were some delays in applying settings in Azure. However, thank you for your time.