Reach the main text directly
HelpdeskDen

Dynamics 365 session timeout: 4 checks for sign-in

By
HelpdeskDen Editorial Team
Posted
Sources checked
Length
12 min read

Dynamics 365 sign-in sessions depend on the Entra session policy, a 24-hour ceiling, custom environment timeouts, and refresh credential expiry.

Key takeaways

  • Record the Entra policy that applies to your users.
  • Compare reported session lengths with the ceiling before changing settings.
  • Check each environment for a custom timeout.
  • Review refresh credential expiry and keep portal settings separate.

If you look after a Dynamics 365 app on your own, session problems usually arrive as a single message. A user was in the middle of a record, the screen asked them to sign in again, and now you are the one who has to explain why. Session settings are easy to set once and forget. When they cause trouble, it is hard to tell which of several settings is responsible.

This post gives you a short, practical way to check the four limits that shape sign-in sessions for the customer engagement apps in Dynamics 365. The rules come from Microsoft's documentation on user sessions and access management for Power Platform.

You do not need to change anything to follow along. Start by reading, write down what you find, and only then decide whether a change is needed. A written record also helps the next time someone asks why a user was signed out.

Before you start

You need three things. The first is access that lets you view the session settings in your tenant and in the Power Platform admin center. If you do not have that access, the checks below still help, because they tell you exactly what to ask of whoever does. The second is a notebook or text file where you can record values and dates. The third is a test account for sign-in tests, so you do not have to sign in as yourself each time.

The order of the checks matters. Start with the default policy, then the ceiling on a single session, then any environment override, then the credential settings. Each step narrows what you need to explain in the next one.

Check 1: find the Entra session policy first

Begin with the default, because it sets the baseline for everything else. Microsoft says that by default, your Microsoft Entra session policy governs user sessions instead of a fixed 24-hour limit. The default is not a single number you can read off one screen. It is a policy in Microsoft Entra, the identity service your tenant uses for sign-in, and it controls how sessions behave for the apps that rely on it.

For a typical setup, your Dynamics 365 app follows the Entra policy unless a custom setting replaces it. That replacement is the subject of Check 3, so keep both in mind.

What to do today:

  • Sign in to the admin portal for your tenant and search for the session policies that apply to your users. Admin screens change over time, so search for session settings rather than following a fixed click path.
  • Note which policy applies to the group of users who work in the app. If more than one policy could apply, write down each one and the group it targets.
  • If you are not sure which policy applies, ask the person who set up the tenant, or check the policy assignments for the groups that use the app.
  • Save a copy of what you found, with today's date on it.

Check two: know the 24-hour ceiling

Next is the limit that surprises people most. The page states that this policy doesn't extend an individual session beyond 24 hours. Read this as a ceiling on how long one session can run under this policy. It is not a timetable. Do not treat the ceiling as a promise that every user will be signed out at exactly 24 hours.

For a one-person team, the practical question is timing. When a user reports a sign-in prompt, find out how long they had been working before the prompt appeared. If the session was already very long, the ceiling is a plausible explanation. If the prompt came after a short time, work through the other checks before you assume the 24-hour rule is the cause.

Keep the timing in your notes. Three or four reports with the same pattern tell you far more than a single report does.

Check 3: look for a custom timeout on each environment

Environments can have their own session timeout, and the environment your Dynamics 365 app uses is one place to look. The page explains that if you set a custom session timeout for an environment, the session length you configure applies between a minimum of 60 minutes and a maximum of 1,440 minutes (24 hours), and it overrides the default Microsoft Entra behavior. The range matters. A custom value has to sit inside it, and when a custom value is set, it replaces the default you found in Check 1.

In the Power Platform admin center, find each environment that hosts your Dynamics 365 app and search its settings for a custom session timeout.

Write down three things for each environment:

  • Whether a custom timeout is set.
  • The value, if one is set, and whether it falls between 60 and 1,440 minutes.
  • The date you checked.

If no custom timeout is set, write that down too. A blank setting is still a finding, and it tells you the default from Check 1 is the rule that applies.

Check 4: review refresh credential expiry

The last check covers what happens behind the scenes. Microsoft gives a default refresh credential expiration of 90 days. This credential lets an app obtain a new access credential without asking the user to sign in again from scratch. In plain terms, this setting shapes how long a user can keep coming back without a full sign-in.

That number is a default. If someone in your organization changed it, the default does not tell you the new value. Record what you see in your own tenant and do not assume 90 days.

The page also says that customer engagement apps use a Microsoft Entra identity credential with a Policy Check Interval (PCI) claim. Ask your admin about the tenant's configuration rather than inferring an interval from the name.

What to do: record the expiry setting and the Policy Check Interval claim in your notes. You do not need to change anything in this check today.

Where the portal fits

If you also run a Dynamics 365 portal for external users, do not assume it follows the same rules. The page says that the Dynamics 365 portal has its own settings to manage its session timeout and inactivity session timeout that are independent of these system settings. In other words, the timeout you set for an environment does not tell you what the portal does.

Add the portal to your list as its own item. Find its session timeout and its inactivity session timeout, record both, and compare them with the environment settings you wrote down earlier. If the two sets of values look different, that is expected. The point of the record is to make the difference visible.

Illustrative example: trace a sign-in prompt

Suppose a user tells you on a Tuesday afternoon that the app asked them to sign in again while they were updating a long set of records. They report a prompt after 60 minutes, so you start with your notes.

Check 1 comes first. Your record says the Entra session policy applies to the group this user belongs to, and you write the group down. The default governs unless a custom setting replaces it.

Check 3 looks at the environment. Your record shows no custom timeout set for the environment this app uses, so the default from Check 1 is the rule that applies, and there is no override to chase.

Record the timing without treating it as proof of the cause.

Working around the 24-hour limit

You may come across guidance for getting around the 24-hour limit. Treat that as something to understand before you use it, not as a quick fix. Microsoft describes opening the environment through the Open link in the Power Platform admin center environments tab to get around the policy bypass and the maximum session length.

If you decide to use it, keep these habits:

  • Check with whoever owns your security policy first, even if that person is also you on another day.
  • Write down why you used it, when, and for which environment.
  • Make sure your users know what the link does, so that nobody wonders why one route behaves differently from another.

Build a one-page record

A short written record does more for you than a long one nobody reads. One page is enough. Use this layout, filled in with your own values:

  • Date of last check.
  • Entra session policy that applies to your users, and the group it targets.
  • The ceiling, noted as a limit on one session.
  • Custom timeout for each environment: set or not set, the value, and whether it is inside the permitted range.
  • Refresh credential expiration: your tenant's value and whether it differs from the default.
  • Policy Check Interval: noted as a claim the app uses, with the interval value checked with your admin.
  • Portal session timeout and inactivity session timeout, if the portal applies to you.
  • Any workaround you have used, with the reason and the date.

Keep the file somewhere you can find it quickly. Update the date each time you check, and keep the older versions. The history is often the most useful part when a problem comes back.

For a related review of sign-in controls, use the password policy review.

Start today by recording the policy that applies to your users and the date you checked it, without changing a setting.

Questions to ask your admin

If the tenant belongs to someone else, or another person manages the identity settings, a few questions will save you time:

Which Entra session policy applies to the users of this app, and when was it last changed?

Check the policy assignments for the groups that use the app. Ask your admin to confirm the policy and its last change date.

Has anyone set a custom session timeout on the environment that hosts the app?

Check the environment settings for a custom session timeout. Record whether it is set and its value before considering a change.

Has the refresh credential expiration been changed from the Microsoft default?

Compare the tenant's expiry setting with the default. Ask your admin to confirm any difference before relying on it in your explanation.

Does the portal have its own timeout settings, and who looks after them?

Yes, the portal has independent session and inactivity timeout settings. Ask your admin who maintains them and add that person to your notes.

Is there a standard process for planned changes, and does it include telling users?

Ask whoever manages the identity settings to confirm the change process. Write down who will notify users and test the result.

You do not need to be an identity specialist to ask these questions. You need the answers written down so you can refer to them later.

How to read a sign-in report from a user

When a user says they were asked to sign in again, collect a few facts before you touch any setting:

  • What were they doing when the prompt appeared? A long form, a report, or a quiet tab can all behave differently.
  • How long had they been signed in? Compare this with the 24-hour ceiling.
  • Did the prompt come once, or repeatedly?
  • Are they using the main app or the portal?
  • Did they sign in from a new device or a new browser recently?

With those facts, you can sort the report into one of the checks above. A long session points you toward Check two. A custom timeout found in Check 3 may explain a short one. A portal user points you toward the portal section. Only when none of these fits should you treat the case as something new.

If the report concerns access to records rather than a sign-in prompt, see checks for CRM visibility errors.

A simple routine for a one-person team

Once the checks are written down, make them routine. You do not need a complicated process. You need a dated record and a regular time to repeat it.

  • Keep the one-page record described above, covering the Entra policy, the 24-hour ceiling, the environment timeouts, and the credential settings. Add the portal line if it applies to you.
  • Pick a regular review date for the record. Put it on your calendar and treat it like any other maintenance task.
  • Before you change any setting, write down its current value. Then make the change at a quiet time, not in the middle of the working day.
  • Tell users about planned changes in advance. A short message is enough. Say what will change, when, and what they might notice.
  • After the change, test the result with a test account that matches a typical user. Compare what you see with the values in your notes.

What to tell users

Users rarely need the technical detail. They need to know what is expected and what to do. A short message can cover it:

"We have a session limit, so you may be asked to sign in again after a long stretch of use. Save your work regularly. If you are asked to sign in again, follow the sign-in prompt. If it happens often, send me the time it happened and what you were doing, so I can check the settings."

Adjust the wording to suit your organization. The key points are simple: a prompt can be expected, regular saving helps, and a short report gives you something concrete to examine.

Common mistakes to avoid

  • Changing one setting and assuming the others stay the same. Several checks interact, so re-read your record after every change.
  • Forgetting the portal. It has its own settings, so a review of the environment alone is incomplete.
  • Reading the ceiling as an exact sign-out time.
  • Writing down a value from memory instead of from the admin screen. Memory drifts, and the record is only useful if it is accurate.
  • Skipping the record of the original value. Without it, undoing a change is guesswork.
  • Treating a workaround as routine.

Wrapping up

Four checks cover the rules that matter most for Dynamics 365 sign-in sessions today: the Entra session policy, the 24-hour ceiling on a single session, any custom timeout on an environment, and the credential settings behind it. Each check is quick on its own. Together, they let you answer the question "why was this user signed out" with evidence instead of a guess.

Start with the default, write down what you find, and only then decide whether anything needs to change. Your notes will be the most useful thing you have the next time a user reports a sign-in prompt.

Sources