Skip to main content
Solved

Sharepoint package - OauthConnection - "Need Admin Approval"

  • February 26, 2025
  • 2 replies
  • 37 views

Forum|alt.badge.img+4
  • Navigator | Tier 3
  • 10 replies

Good morning,

I would like to use sharepoint package. I have asked IT department to register the application in Azure. I have client id, tenant id & client secret available. From the bot creator (dev machine) I can connect to the sharepoint thru the powershell.

However, when I want to test O auth connection I am getting “Need Admin Approval” ..when I run “Sharepoint Authenticate” command I get ‘Access Denied’ error . The IT department is saying it is because i am authenticating thru user id and not thru api only. 

Is sharepoint package leveraging user id connection to sharepoint, please? Is there a need to have access rights to sharepoint for bot creator user id?

Thank you

Best answer by Tamil Arasu10

Please find the below link,

Yes, You need admin approval.

Control Room, navigate to Manage > OAuth connections 

  1. Click Create connection.
  2. In the Connection settings screen that opens, select a Provider type
  3. https://docs.automationanywhere.com/bundle/enterprise-v2019/page/create-oauth-connections.html

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/sharepoint-configuration.html

 

Please note that some of the API’s are deprecated. However you can use the  Create a new entry in a SharePoint list - Microsoft Graph v1.0 | Microsoft Learn

 

View original
Did this topic help answer your question?

2 replies

Lu.Hunnicutt
Pathfinder Community Team
Forum|alt.badge.img+10
  • Pathfinder Community Team
  • 45 replies
  • February 26, 2025

Hi EvaG, tagging some people who may be able to assist you here.

@ChanduMohammad 

@Tamil Arasu10 

@usernsj 

 


Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+16
  • Most Valuable Pathfinder
  • 3274 replies
  • Answer
  • March 5, 2025

Please find the below link,

Yes, You need admin approval.

Control Room, navigate to Manage > OAuth connections 

  1. Click Create connection.
  2. In the Connection settings screen that opens, select a Provider type
  3. https://docs.automationanywhere.com/bundle/enterprise-v2019/page/create-oauth-connections.html

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/sharepoint-configuration.html

 

Please note that some of the API’s are deprecated. However you can use the  Create a new entry in a SharePoint list - Microsoft Graph v1.0 | Microsoft Learn

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings