locked
Error to connect on the azure api RRS feed

  • Question

  • Hi, i'm trying to connect on azure API cause i'm developing an webapp that sells and provision azure resources, but when i tried to connect using the token previously generated, i'm getting the erro bellow:

    "error_description": "AADSTS65001: The user or administrator has not consented to use the application with ID '48635672-7393-46d3-a5e5-b7828113a259'. Send an interactive authorization request for this user and resource.\r\nTrace ID: d85f59dc-28f1-42fa-ae22-23195088e1f2\r\nCorrelation ID: b6bb60f3-7fad-41b7-8522-4199b1932f40\r\nTimestamp: 2016-10-14 20:54:20Z"

    So what kind of configuration my azure app needs to have? i was applied all the liberations in my app on azure portal and the problem persists, someone have an tutorial to solve this?


    renatomattos2912

    Tuesday, October 18, 2016 12:25 PM

Answers

  • Hi,

    I assume that you are going to manage customers’ Azure resources from via a Partner account.

    If this is the case, please check that if Pre-consent is enabled for the app you registered in your Partner’s Azure portal.

    Here is a sample project from Github, it contains a demo about working with Azure Resources Manager API. In the Prerequisites section, it will show how to enable Pre-consent for your app:

    https://github.com/PartnerCenterSamples/Commerce-API-DotNet

    Best regards,

    Patrick Liang


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    • Proposed as answer by Patrick_Liang Wednesday, October 26, 2016 1:49 AM
    • Marked as answer by Patrick_Liang Thursday, October 27, 2016 2:00 AM
    Wednesday, October 19, 2016 3:04 AM