Multi User Application - Using Excel, Access and Sharepoint - excel

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

Related

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.

Secure filtering in Power BI Embedded

Currently I have the following scenario. I have a report in Power BI which reads from a dataset which has data of all companies. In my ASP .NET MVC application the user will select the company for which to display the report and with Power BI Embedded the application filters the report by the ID of the company through the embed config defined in JS (filter parameters passed from server).
I am using app owns data approach where I have a master account and the embed token is generated for the master account.
The user accessing the report does not have access rights to all companies and this is being handled server-side. With this approach however, the user can easily alter the embed config in JS and display the report for a company which he is not authorized to access.
I looked into row-level security and I found the following approach https://community.powerbi.com/t5/Developer/PowerBi-Embedded-API-Works-with-RLS/td-p/231064 where there exists a role for every company and the embed token is generated for that particular company. This would be an ideal approach but in my scenario the companies are not pre-defined and can be created any time. Therefore, I would need to create a role per company. This however cannot be achieved programmatically as Power BI does not provide means to automate role creation.
The only approach I can think of is to clone a report for each new company and create a dataset specific to that report which will only have the data for that particular company. Then the generated embed token will only be valid for that particular report.
Has anyone also experienced this dilemma? Any suggestions what I should do in such scenario?
You still can use RLS, but without roles per company. Use USERPRINCIPALNAME() DAX function to find out which user is viewing the report. In the database make a table to specify which company can be seen by which user and add it to your model. Then use RLS to filter this table to only the row (or rows) where user is current one (here is where USERPRINCIPALNAME() comes into play), and let the relationship between this table and your data tables to filter out what should not be seen. This way there will be no JavaScript filters at all, so nothing can be changed by some malicious user.
See Using the username() or userprincipalname() DAX function.

Import Data from SQL Azure to Excel Using AAD authentication and sharing a link of excel online

The Scenario
Step 1:- User clicks a link which redirects to excel online.
Step 2:- The excel on load will fetch the data from SQL azure (or can use ODATA feed ) using logged in user ID. (some custom logic to filter data based on user).
I did some research and can see excel power query as an option, but i cannot provide SQL server authentication for fetching data from SQL azure, because i need the logged in User details. I tried using Azure AAD authentication for SQL azure, but seems like power query does not have that option either to connect to SQL azure with AAD integrated Authentication. For OData i can use custom authorization implementation but how do i get the user information (logged into excel online) and pass it to Odata.
Looking for help in two major parts:-
1) Any pointers on step 1, do i have to put a excel sheet somewhere in share point (any other options??) and share the link? in that case how does it work if two different set of users (who see data filtered based on permissions) will work?
2) Help on step 2, how do i bring the data to excel with SQL azure or using ODATA but based on logged in user.
P.S :- Correct me if i am in completely wrong direction or any better ideas to implement this scenario.

Preloaded Fusion Table that is specific to each user

So here is the dilema and I am sure it is a simple solution. I am using App Inventor 2.
I would like to use Fusion and have it so that it automatically creates for example 4 preloaded/precreated tables to make things easy for the user.
table1, table2, table3, table4.
Then these tables would be customizable per each user that downloads the app. They would have their own private fusion tables with their own private info they created.
So my aim is that if someone downloaded the app, they wouldn't have to create a fusion table or know anything about coding, it would automatically populate on their google account and be retrievable on it.
Also is there a way to easily obtain that info later via CSV(comma separated value) with Excel from their web browser on their PC from online with a simple link?
Thank you for your time.
In App Inventor there are the built-in fusiontable controls, but these only can access your tables (the tables of the developer account).
To be able to access the Google Drive of the user and create and access fusiontables there, you can use the web component and OAuth following the Google Fusion Tables API. The user needs to authorize your app to be able to create and access the fusiontables on first run of the app.
See an example how to do it here.
The users can obtain that info later with a simple link, they just have to set the sharing permissions of the fusiontables to "anyone with link".

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