Showing results for 
Search instead for 
Did you mean: 
Impactful Individual
Impactful Individual

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
Super User

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.


Impactful Individual
Impactful Individual

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

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (3,072)