Hi @Dieter Tontsch (GMail) ,
When it comes to sharing links or individual files and folders in SharePoint Online (SPO) or OneDrive, guest access can be configured with an expiration time. Each guest invited to a site or with whom you share content is granted access for a specific number of days.
Permission settings managed by site owners (such as stopping inheritance and adding user groups) operate differently. These settings are not tied to guest access expiration.They do not automatically expire based on a global or site-level configuration. Instead, they persist until explicitly modified by the site owner or administrator.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.