cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
namit_gupta
Regular Visitor

Custom Connector - connection failed with Oauth 2.0 / Active Directory

Hi,

 

I have a requirement for creating a Microsoft Plan based on a trigger to Microsoft Flow. As of now, Microsoft Flow doesn't provide an action for creating a plan in Microsoft Planner.

 

I created a custom connector for creating a Plan.  In the Security Tab, i have chosen , OAuth2.0 -> Microsoft Azure AD, however, i am getting the following error while trying to make the connection;

 

Screenshot 2018-10-23 at 4.46.29 PM.png

 

Any pointers in this regard?

 

Regards,

Namit

2 REPLIES 2
v-yuazh-msft
Community Support
Community Support

Hi @namit_gupta,

 

The error message told that you don't have permission to the application.

Please check if you have provide correct information for the authorization or please share more details so we would try to provide a proper workaround for you.

 

Best regards,

Alice

Hi @v-yuazh-msft,

 

Thanks for your response!

 

I am able to create a connection from my custom connector using Azure AD. However, when I try to create a group using the Graph API, i am getting the following error:

 

{
"error": {
"code": "Authorization_RequestDenied",
"message": "Insufficient privileges to complete the operation.",
"innerError": {
"request-id": "a1a0ef82-4a0e-4c61-8008-8c5050cdcb34",
"date": "2018-10-24T09:24:19"
}
}
}

 

Request Body:

{
"description": "Self help community for library",
"displayName": "Library Assist",
"groupTypes": [
"Unified"
],
"mailEnabled": true,
"mailNickname": "library",
"securityEnabled": false
}

 

Flow Connector scope:

 

Screenshot 2018-10-24 at 2.57.00 PM.png

Am i missing something?

 

Regards,

Namit

 

Helpful resources

Announcements
Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (1,906)