Azure Mobile Apps: Getting Error Message for API Access - {"message":"Authorization has been denied for this request."} RRS feed

  • Question

  • Using Mobile Apps and .Net and publish was successful
    I Have not enabled authorization for this mobile app API. Worked locally . after publishing throwing authorization error
    Tuesday, July 26, 2016 9:23 AM

All replies

  • There are a couple of ways this happens:

    1) You have App Service Authentication / Authorization turned on and the default action set to something other than "Allow Access"

    2) You have [Authorize] tag on your API but are not providing any authorization

    Given your description, I suspect #1

    • Proposed as answer by Swikruti Bose Saturday, July 30, 2016 3:39 PM
    Tuesday, July 26, 2016 4:14 PM