cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Piandz
New Member

hardcoded O365 account to access an excel file

I am building an appointment system for our school that only uses Excel as its data source using the OneDrive for Business Connector. This excel file is shared with everyone in the domain so that they can create an appointment so that inputs from the application will save to the excel file. This will allow everyone to open the Excel file directly from the Excel Desktop app or Excel online and input data in that file, this action will bypass the process and will become an invalid transaction. In order to somehow prevent this and preserve all valid transactions, I am thinking of making a duplicate of the Excel file and have all the valid transactions be mirrored to that duplicate file. This duplicate file will not be shared with everyone, only with the owner.

 

Is there a way to hardcode the credentials of the owner of the duplicate file to access this duplicated file?

 

Also, due to limited resources, I can't make any SQL Servers in Azure since I don't have access nor setup a local database server and can't use the On-Site Premises feature.

 

Thank you very much!

1 ACCEPTED SOLUTION

Accepted Solutions
Piandz
New Member

The idea of using SharePoint as the data source really helped me a lot and I was able to do what I need. I was able to make use of the List and make it not accessible via the SharePoint site by tweaking the permissions but still able to in the application in Power Apps.

View solution in original post

4 REPLIES 4
C-Papa
Solution Sage
Solution Sage

Hi, from what you are describing above you will run into lots of issues using excel as a data source, have a watch of this video.

 

QTT - Power Apps Excel is a terrible data source - YouTube

 

Working for a school, do you not automatically get access to SharePoint? i would look to build this in SharePoint as it will be easier than SQL, unless you are familiar with building tables / queries in SQL, and its fairly similar to a spreadsheet. 

 

There is also a Microsoft bookings app that might be close to what you want out of the box. 

BrianS
Super User
Super User

I do not believe you can "hardcode" credentials for an Excel File. You may want to think about Sharepoint as a data source. If you are using O365 you should have access. You can pretty well lock down those lists. The other option would be to use Teams and Dataverse if that is available. You can totally control access to that data source.

The idea of using SharePoint as the data source really helped me a lot and I was able to do what I need. I was able to make use of the List and make it not accessible via the SharePoint site by tweaking the permissions but still able to in the application in Power Apps.

Piandz
New Member

The idea of using SharePoint as the data source really helped me a lot and I was able to do what I need. I was able to make use of the List and make it not accessible via the SharePoint site by tweaking the permissions but still able to in the application in Power Apps.

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (969)