Showing results for 
Search instead for 
Did you mean: 
Solution Supplier
Solution Supplier

Error while creting records using CSV from One Drive

Hello All,


I am getting error -The request is forbidden by Graph API. Error code is 'AccessDenied'. Error message is 'Could not obtain a WAC access token.'. while reading CV file using 'Get Tables'. The CSV file in my one drive. I want to Create/Update records in CDS using this CSV format file.


I searched about this error and found that Get Tables required only XML/XLSX format file. Is there any other workaround where i can used the CSV from one drive and create new/update existing records.


Any idea/ help is appreciated.





Super User II
Super User II

Hi @panand99 


I just stumbled on this request, but it's been a while that you submitted it. Were you able to fix it?
If so, how did you do it so that the community can benefit from your findings?


If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.


Hello @manuelstgomes 


I used another option to solve this issue. I used 'DataFlows' for that, so when user upload XLSX file into some specific location then 'DataFlows' run and create/update records.


To create/update unique entries in your datasource using dataflow, there is some settings need to be done like :-


1) Table must be created on your excel file

2) 'Alternate key columns' must be configure on dataflow.

3) All columns must be mapped(which you want to create/update)


Let me know if this is helpful.


Helpful resources

Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Users online (2,971)