Hello Everyone !!!
I am currently facing issue with sharepoint upload file.
For authentication : Using Application ID and secret key..
Any idea how we can solve the issue.
Hello Everyone !!!
I am currently facing issue with sharepoint upload file.
For authentication : Using Application ID and secret key..
Any idea how we can solve the issue.
Hi @AJ11
Could you please show your workflow how are you trying to do the upload?
Also, can you confirm that app is and secret you are using is correct and given right graph permissions in azure app registration?
Also you are passing app id, tenant and secret all 3 values to the scope, right?
Try to get more detailed exception by putting this upload logic in Try catch.
In catch, log Exception.Source
Yes i am passing all three value , App ID, Secret key and tenant id.
bot Flow →
Azure app permission :-
@ashokkarale : Exception message.
General Exception typically means that your authentication isn’t working.
Thanks for sharing!
To ensure that your authentication is working, could you please simply try any get operation within O365 scope and see if you get response?
That will at least confirm that your auth parameters are working fine.
Also, I see you are using upload files activity instead of upload file. Are you trying to upload multiple files to the SharePoint?
Please confirm that the file to upload is in iresource type format and folder/file id used in properties is correct.
Else you can also simply try to use upload file if you are only looking to upload 1 file.
I am getting different exception for different type of authentication .
For Interactive token its working fine. bot is able to upload the file to directory.
Bot workflow -
Not sure what configuration is missing…
Does this work if u try to invoke the token API via Postman?
@Vishal_Kalra Can you help me with steps ??? how to invoke with postman.
Thanks @Vishal_Kalra for steps, But right now i don’t have postman in my system. And For installation its will take time. Is there any other to validate ?
I usually try postman to validate stuff first. You can try the web version of postman too ( which does not require the installation)
https://blog.postman.com/announcing-postman-for-the-web-now-in-open-beta/
You’re using the UiPath Azure app instead of your organization’s custom app. Change the pulldown in the Scope activity from UiPath to Custom.
Issue is resolved now, exception was thrown because admin consent was not provided. After admin consent its working fine.
Thanks every one for the help.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.