Scenario. I have Sheet1 and Sheet2, I only want to get the Sheet2 data cause I will be converting it to HTML. However I want to do it without signing to Excel's OneDrive or using the excel action.
The reason why I can't login to Excel's OneDrive because of multi-factor authentication/credentials issue.
Is there any way I can get the worksheet values using the file content from get file OneDrive flow and not signing in to excel business flow?
To use OneDrive in Azure logic app, you must first create a connection to it, otherwise you cannot operate it.
Related
I want to get modified rows from sharepoint excel to my power automate cloud flow. If we can get data of excel catch up events from a Rest API, That will easily solve my problem.(Please Refer the image attached for more info.) But I was unable to find a Rest API or Proper documentation for Excel File Rest APIs.
Requirement: I want to show the modified rows for approval.
Sharepoint Excel Rest APIs and version history.
When using the Microsoft Graph API to query the contents of a worksheet via the usedRange endpoint:
https://learn.microsoft.com/en-us/graph/api/worksheet-usedrange?view=graph-rest-1.0&tabs=http
When I edit a cell on the spreadsheet via the browser app and then call that endpoint, the contents of that cell isn't present until after a small delay, usually around 5s. In the worksheet itself the header says that it has been saved, however that isn't immediately present when called via the endpoint.
Is there a method to guarantee that when calling the Graph API endpoint that I'm getting the absolute latest contents, or is there a way to force a save via GraphAPI endpoints before querying for the contents of a worksheet?
I tried refreshSession but that had the same issue, I expect that as soon as it says content saved on the excel sharepoint browser app, the results will be the same as the content returned by usedRange
I have been working for a project that makes use of google-APIs to create/write and read google sheets. I also wanted to duplicate a template on every user onboard.
I'm trying to use Files.Copy API, but I'm unable to do so with the Google API Key. It always restricts the copy with an error message ''This error may be due to using an insufficient credential type. Try using OAuth 2.0."
Is there any way to copy the google sheet using only API key other than OAuth?
Here are the steps that I followed to overcome this issue.
Create a folder in GSuite drive
Share the folder with the service account
Move the template sheet that needs to be copied to the shared folder
Share the template key with the service account
User File.Copy (Drive API) to copy the template sheet to the shard folder itself.
This way you can achieve both copying a template and viewing it. Without a shared folder, it ain't possible to view the sheets created by a service account
Previously I wasn't able to copy the sheet because it was owned by another user and had to get the consent from the user through oAuth. Now its resolved by sharing the parent folder of the template with the service account email.
Does anyone know if it is possible to pull data from an Office 365 Excel online sheet for use on a web page.
Essentially what I'm looking for is a Microsoft version of the Google Sheets API: https://developers.google.com/sheets/api/quickstart/js - unfortunately I'm not able to use Google sheets due to the project being located in China (where Google services are blocked).
Does anyone know if this exists?
There is Mic.rosoft Graph API and probably more suitable to your needs Excel Rest API
My use case is a web page which allows users to load an Excel file stored on SkyDrive, whose format I do not control, and have the user select a range of cells from that file to send their data to a web service. I would like to embed an Excel Web App in my web page for this purpose and use the Ewa library to interact with the cells. In order to do this I need to programmatically load an arbitrary workbook from SkyDrive that I don't know ahead of time. This means that I can't just use the manual Javascript Embed menu option in SkyDrive which provides the fileToken. Can I pull an Excel Web App fileToken from SkyDrive programmatically?