none
Error while using AD Authentication in Scheduler to call Webjob RRS feed

  • Question

  • Hi,

    I am trying to call the webjob from Scheduler by using AD authentication an not the basic authentication which uses the publish credentials to call the webjob. I get an error of forbidden when i do that.

    I wonder is it possible to call the webjob by not using publish credentials and using the bearer token in the authorization?

    Thanks,

    Dipen Jain

    Saturday, September 1, 2018 10:32 AM

All replies

  • Hi DipenJain95,

    I assume you are using the ActiveDirectory OAUTH model in your scenario. Is this correct? If not please let me know how your AD authentication is configured. The above link includes some useful sample response and request body.

    Also, you may need to edit your "allowed audience" profile under your app resource. Here is a useful reference on stackoverflow. Hope this helps. Please let me know if you have any follow up questions.

    Friday, September 7, 2018 8:38 PM
    Moderator