web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / hardcoded O365 account...
Power Apps
Answered

hardcoded O365 account to access an excel file

(0) ShareShare
ReportReport
Posted on by 13

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!

Categories:
I have the same question (0)
  • C-Papa Profile Picture
    1,836 on at

    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 Profile Picture
    2,407 Super User 2024 Season 1 on at

    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.

  • Piandz Profile Picture
    13 on at

    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.

  • Verified answer
    Piandz Profile Picture
    13 on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 426

#2
WarrenBelz Profile Picture

WarrenBelz 381 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard