Retrieve file permissions from SharePoint via Power Automate? - sharepoint

Lets say I have a file on SharePoint. I would like to see which permissions this file has using Power Automate. Is there a way to retrieve such information?
I don't seem to be able to find the correct option in Power Automate.
Thank you.

Related

SharePoint: You don't have permission to view the data in this list

I administer our Power BI offering. A user came to me with this problem:
While viewing a list in SharePoint:
Microsoft Lists
Integrate
Power BI
Visualize the list
After clicking on "Visualize the list" he gets the message,
Something went wrong. You don't have permission to view the data in this list. Please reach out to the owners of the list to get access.
Given that message, can I safely assume this is not really a problem for me as the Power BI administrator?
He is the owner of the list. He has "Full Control" permission. What else would he need?
One piece of information that may be important: We're using Microsoft's government cloud for Power BI (app.powerbigov.us) and maybe other apps. For example, we're using sharepoint.com, but I'm told it's GCC. But we may be using some features from the commercial cloud.
Update #1: Random permissions
After nothing changing, the user can now generate the Power BI report. When he clicks "publish" it reports success, but the report is nowhere to be found.
Users need to have at least Read permission on SharePoint lists that they want to access wherever they access them, via PowerBi or SharePoint UI or other.
If the user has been the owner of the list, he should be able to access the content. Please double-check his permissions on the list and also check if he could access the content successfully via SharePoint UI.

How to grant access to a User on SharePoint document library/ list using Power automate or Rest API

I'm working on a automation where we want to give access to a requested user on a SharePoint document library and list.
We are using Power automates for end to end automation but dint find any way to achieve the problem statement.
Can i get some leads.

How do I check user access for given SharePoint site using power automate

I have a requirement to write a Flow using power automate.
The requirement is to check if a user has access to given SharePoint site. Here SharePoint site address will be given as input.
I'm wondering how to achieve this using REST API in power automate.
With REST API, you cannot check user permission directly, alternate is to use effectiveBasePermissions for different masks. Blog here.
And for Power Automate, I am not sure if you can carry further steps mentioned in the blog.
Similar thread: How to get user's permission on SharePoint site with REST API?
The workaround I can think of will be checking if the user is in a SharePoint group. You can get all users in a SharePoint group via REST API, and check if the user is inside of it.

Multi User Application - Using Excel, Access and Sharepoint

I have to create a multi user application, in which as per the parameters provided by user a report will be published in excel format. I need some help in figuring out that whether an integration of excel, ms access and sharepoint is possible? Something like - I can keep all my data in ms access and put an excel in sharepoint so that all the user can use it. Parameters selected by users will go and fetch data in ms access and then publish data and on the basis of that pivots will also be created.
Kindly let me know if something like this possbile and if it then what all steps i have to follow and what can be the challenges
Thanks

Retrieve Office 365 directory information from SharePoint online

I was wondering if is it possible to retrieve Office 365 directory information (i.e. security group membership) from SharePoint online programmatically (for example through a workflow custom action)?
By the way, I am not looking for retrieving Sharepoint group membership information.
I know the custom development is pretty limited with SharePoint online since the code has to run as a sandbox solution. Is there any web service or any another solution available?
I have been looking for information about this matter but I could not find anything so I guess there is no way to do this.
In our case there is an active directory synchronized with office 365. So we will use a powershell script to read data from AD and update a sharepoint list every day.
Then we will be able to use this data from custom code (like a workflow custom action).

Resources