
SharePoint Online or InfoPath cannot restrict item creation in a time range. By default, all authenticated users with have access to the list and be able to create items as long as they have enough privilege (permission).
Here are a few workarounds for this request:
- Use Power Automate to change user permission/list permission/item-level permission on schedule.
Reference: Setting sharepoint item list permissions with flow. - Disable access to SharePoint Online service using PowerShell and schedule the PowerShell Script using Task Scheduler.
References: Disable access to Microsoft 365 services with PowerShell. / How to Schedule PowerShell Script using Task Scheduler. - Configure ADFS for Office 365 to restrict access hours.
Here is a UserVoice post on similar request you can vote and find related discussion: Ability to limit user logon hours.
*Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link. *
If an Answer is helpful, please click "Accept Answer" and upvote it.
**Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. **