The “Session expired. Please sign in” message usually means the current sign-in token is no longer valid. The exact fix depends on where the comment is being posted, but the common causes and fixes in Microsoft services are:
- If this happens in SharePoint Online / OneDrive / Office Online
- Check the device date, time, and time zone. If they are wrong, authentication tokens can be treated as expired.
- Set the system clock to the correct time and time zone, then close and reopen the browser and sign in again.
- Try submitting the comment again after signing back in.
- If this happens in Office Online with very frequent “session expired” prompts (about every 10–15 minutes)
- This can be caused by tenant-level IP address enforcement, which shortens the Office Online token lifetime.
- A Microsoft 365/SharePoint admin can extend the Office Online token lifetime:
- Open SharePoint Online Management Shell.
- Connect to the tenant:
Connect-SPOService -URL https://contoso-admin.sharepoint.com - Increase the token lifetime (value is in minutes, must be > 15):
Set-SPOTenant -IPAddressWACTokenLifetime 20
- After this change, users should sign out and sign back in, then try commenting again.
- If this happens in Power BI paginated reports
- Sessions time out after about 10 minutes of inactivity or when the device is locked.
- Refresh the page and sign in again, and avoid long idle periods before submitting the comment or interaction.
If the problem persists after correcting time settings and signing in again, and especially if it’s tied to a specific Microsoft service (SharePoint, OneDrive, Power BI, MSN, etc.), use that service’s feedback/support channel or admin tools to investigate further.
References: