If you are trying to access WebJobs logs via a URL with .scm. in it

https://XXX.scm.azurewebsites.net/azurejobs
you may run into an error

"401 - Unauthorized: Access is denied due to invalid credentials.
You do not have permission to view this directory or page using the credentials that you supplied"

 

Resolution:

One of the things you can try is to put just User instead of  Site/User