OAuth and enterprise applications in Microsoft 365 – who has access to your information?

OAuth and enterprise applications in Microsoft 365 – who has access to your information?

External apps can gain access to email and files in Microsoft 365, sometimes without a signed-in user. How to review enterprise apps, permissions and consent.

Summary: Many organisations have good control of user accounts, multi-factor authentication and administrator roles in Microsoft 365. But what about third-party applications? Through OAuth and Microsoft Entra ID, external services can be granted permission to read email, access files or carry out other actions, and some applications can use their permissions without any user signed in. Here we explain how that access works, what the risks are and how to review and manage your enterprise applications.

Microsoft 365 is more than users and administrators

Microsoft 365 is rarely used on its own. Organisations keep connecting new tools for project management, CRM, document management, backup, reporting and AI, and many of them need access to information or functions in Microsoft 365 to work. A project application may need to read the user’s calendar. A CRM system may need to integrate with email and contacts. A backup service needs to read information from Exchange Online, SharePoint and OneDrive.

That is normal and often necessary. But every integration is also a decision about access. Who approved the application? Which permissions has it been granted? Does the access apply to one user or to large parts of the organisation? And above all: does the application still need all of those permissions? These questions easily fall outside the usual security review of Microsoft 365.

What are OAuth and enterprise applications?

OAuth 2.0 is an authorisation framework that lets applications obtain limited access to resources through access tokens, without the user’s password being handed to the application. In Microsoft’s environment, OAuth is used together with Microsoft Entra ID to give applications permissions to Microsoft Graph and other APIs.

When an external application is connected to the organisation’s Entra ID, a service principal is normally created to represent the application in the organisation’s tenant. It appears under Enterprise apps in Microsoft Entra, which is where you can review the permissions the application has been granted and the users assigned to it. The related App registrations area is mainly used for applications the organisation develops or administers itself. Put simply:

  • App registrations describe the application’s registration and configuration.
  • Enterprise apps show the application’s representation and access in your own organisation.

Enterprise apps also contains other kinds of application, such as those using SAML for sign-in, so not every entry is an OAuth application with access to Microsoft Graph. What matters in a security review is that an application can hold permissions of its own and so become a separate route into the organisation’s information.

Delegated permissions and application permissions

Microsoft distinguishes between two main types of API permission, and the difference is one of the most important things to understand when you review your integrations.

Delegated permissions: the application acts on behalf of a user

A delegated permission is used when the application acts on behalf of a signed-in user. If a user allows an application to read files through a delegated permission, access is limited both by the API permission granted and by the files the user can access. The app does not automatically get to read everything in the organisation. But if the user already has very broad access, for example to many SharePoint sites, teams and shared document libraries, the application’s access can become broad too.

Application permissions: the application acts on its own

Application permissions are used when an application has to work without a signed-in user, for example a service that regularly fetches information, takes backups or synchronises data between systems. These permissions always require administrator consent, and some of them give access to large parts of the organisation’s information. The Microsoft Graph application permission Files.Read.All, for example, lets the application read files across the whole organisation, not just one user’s files.

Delegated permissionsApplication permissions
AccessOn behalf of a signed-in userThrough the application’s own identity
Signed-in user at API callYes, access relies on the user’s contextNot needed
ScopeLimited by both the user’s rights and the application’s permissionSet by the application permission and any further restrictions in the resource
ConsentThe user or an administrator, depending on the permission and the tenant’s consent settingsAlways administrator consent

Four risks to be aware of

1. Applications with more permissions than they need

An application can ask for broader permissions than its function requires. A tool meant to show the user’s calendar may ask for access to email or files, and another application may have been granted extensive permissions at installation even though only a few functions are used today. That does not make the application malicious, but broad permissions increase the impact if the application or its supplier is compromised. A review should therefore check not only which permissions exist but also why they are needed.

2. Consent phishing: the user approves a malicious application

An attack on Microsoft 365 does not have to start with a stolen password. An attacker can instead trick a user into approving an application that asks for access to information, known as consent phishing. The consent prompt is shown by Microsoft and looks legitimate; the difference is that the application asking for access is controlled by the attacker. If the user approves the permissions, the application can obtain access tokens and use the permitted APIs to reach the information.

Multi-factor authentication is still important, but it does not protect against a user personally granting a malicious application permissions. The organisation therefore also needs to control which applications and permissions users can approve.

3. Old integrations nobody owns any more

Applications often stay behind after they stop being used: a finished project, an integration a consultant built, or a service introduced by someone who has since left. The permissions remain even if nobody knows why, and sometimes there are still valid certificates, client secrets or other credentials that need managing. Every relevant integration therefore needs an owner and a process for removing its permissions when the service is no longer needed. It is the same principle as for user accounts, but applications often lack the natural life cycle that comes from people joining, changing roles or leaving.

4. The supplier’s security affects your information

When an application has extensive access to Microsoft 365, the supplier’s security becomes part of your risk picture. What happens if the supplier’s systems are compromised? How are access tokens and other credentials protected? Which subcontractors are used, and how are incidents and service changes handled? Can the access be restricted or revoked quickly? This is where technical security, supplier management and data protection meet, and a supplier review needs to cover contract terms, information handling and the technical permissions actually granted in your Microsoft 365 environment.

An example: the tool that was only going to summarise email

An employee starts using an AI tool that summarises email and writes meeting notes. The tool is connected to Microsoft 365 through OAuth and asks for access to read the user’s email and calendar. The tenant still lets users approve such permissions themselves, so the employee accepts the request and starts using the service. It works well.

A few months later the way of working has changed and the tool is no longer used, but nobody has checked whether its permissions are still in place. If the application is later compromised, the remaining permissions can become a security risk. How big the risk is depends on which permissions exist, whether they can still be used and whether valid access or refresh tokens exist. Had the same service instead been given broad application permissions through administrator consent, the impact could have been far greater.

The example shows why assessing a tool at the point of purchase is not enough: the access has to be managed over time. How AI tools and agents can be restricted more generally is covered in AI security in practice.

How to review OAuth apps in Microsoft 365

A first review can be carried out directly in the Microsoft Entra admin center. It does not have to start with a new security tool.

Step 1. Inventory your enterprise apps

Go to Entra ID › Enterprise apps › All applications and go through the applications in the organisation’s tenant. Look in particular for external applications, integrations that are no longer used and applications with unclear ownership. The list also contains Microsoft’s own applications and other system components, so an unfamiliar name is not automatically a security problem.

Step 2. Review the permissions granted

Open an application and select Permissions. The Admin consent tab shows permissions that apply to the whole organisation, and the User consent tab shows permissions that individual users or groups have approved. Look at which API permissions have been granted and whether they are delegated or application permissions. Examples of permissions that may need a closer look:

  • Mail.Read: read email within the scope of the permission. As an application permission it covers every mailbox unless access has been restricted in Exchange Online.
  • Mail.Send: send email.
  • Files.Read.All: read files, with a different scope for delegated and application access.
  • Sites.Read.All: read content on SharePoint sites within the scope of the permission.
  • Directory.Read.All: broad read access to directory information.

Read the actual permission description in Microsoft Graph and check whether the permission is used with or without user context. A permission is not wrong just because it is broad, but the need should be justifiable. Note that permissions on the User consent tab cannot be revoked in the portal; that is done with Microsoft Graph or PowerShell.

Step 3. Check who approved the access

A user can, under certain conditions, approve delegated permissions themselves, while other permissions require administrator consent. Find out which user consents the tenant allows, who has the right to grant administrator consent and whether an application’s permissions apply to one user or the whole organisation. Pay particular attention to tenant-wide administrator consents: depending on the API permissions granted, they can give very broad access.

Step 4. Make sure of ownership and actual use

For every relevant third-party application you should be able to answer a few questions:

  • Who is the business owner?
  • Who is responsible for the technical integration?
  • What information does the application need?
  • Is it still in use?
  • Has the access been reviewed since the application was introduced?

If nobody can answer, there is reason to look into the application more closely. Do not revoke access, though, before dependencies and consequences have been assessed. An integration may, for example, run backups, business-critical synchronisation or automated system administration.

Step 5. Review how new applications are approved

Then check the user consent settings under Enterprise apps › Consent and permissions › User consent settings. There you choose whether users may not approve applications at all, may approve selected low-risk permissions for applications from verified publishers, or whether Microsoft should manage the setting. Microsoft’s managed setting is the default in new tenants and currently stops users from approving a range of broad permissions to files, sites, email, calendars and chat themselves. Older tenants may still have the legacy setting where users can approve anything that does not require an administrator.

Two things are easy to miss. A changed consent setting only applies to future consents: permissions already granted remain until they are revoked. And a verified publisher means the publisher’s identity has been checked, not that the application is secure or that every permission it asks for is reasonable.

Should users be barred from approving applications?

It is often sensible to restrict users’ ability to approve external applications, but not every organisation needs the same setting. A very restrictive set-up without a working process for new applications creates needless obstacles and can push employees towards services on private accounts, which the organisation has even less control over.

A better model is to combine technical restrictions with a clear approval process. Microsoft Entra supports an admin consent workflow, where users can request approval for applications they are not allowed to approve themselves. The organisation can then assess the need, the supplier and the permissions before access is granted. What matters is that the process works day to day and does not become an administrative bottleneck.

Follow-up and detection of risky applications

A first inventory is valuable, but permissions change as new applications are introduced and existing integrations evolve. The review should therefore be repeated at risk-based intervals and after major changes. Organisations with the right licences can also use Microsoft Defender for Cloud Apps and its app governance capability to get an overview of OAuth applications, find applications with extensive permissions and detect unusual behaviour. What is available depends on licensing and configuration.

Advanced monitoring is not a prerequisite for getting started, though. A clear inventory, defined responsibilities, restricted permissions and regular follow-up are a good foundation.

If you find a suspicious application

If an application is judged to be malicious or to have unauthorised access, handle it as a possible security incident. Investigate which permissions were granted, which users are affected and what information the application may have reached, using the Entra ID audit logs. Depending on the situation, it may be appropriate to revoke consents, block the application or revoke sessions.

Bear in mind that access tokens already issued can remain valid until they expire, even after the application has been disabled. Revoking a permission also does not stop users from approving the application again if the consent settings allow it. The response therefore has to be adapted to the incident and followed by verification.

If personal data may have been exposed, the organisation also has to assess whether this is a personal data breach that must be documented, notified to the supervisory authority or communicated to the data subjects. How to make that assessment is covered in Personal data breach: what do you do in the first 72 hours?

Microsoft 365 security has to include the applications

In recent years many organisations have improved security with multi-factor authentication, Conditional Access, better control of administrators and more secure devices. Those are important measures. But access to the organisation’s information does not only happen through users signing in to Outlook, Teams or SharePoint; it also happens through integrations, APIs and application identities. A security review of Microsoft 365 should therefore cover which applications hold permissions, how they were approved and how the access is managed.

For organisations working to ISO 27001 or covered by the Swedish Cybersecurity Act (NIS2), such a review contributes to the requirements on access control, supplier security, risk management and follow-up. Where applications process personal data, you also need to assess how the supplier handles the information and whether a data processing agreement is needed. Which other Microsoft 365 settings affect data protection is covered in Which Microsoft 365 settings decide data protection?

How Kristensson i Skåne can help

Kristensson i Skåne helps organisations improve security in Microsoft 365 and Microsoft Entra ID, as part of our work with Microsoft 365. That covers both technical security review and governance, risk assessment and practical measures. As a defined deep dive or as part of a broader Microsoft 365 review, we can help with:

  • an inventory of enterprise apps and relevant app registrations,
  • review of OAuth and API permissions,
  • assessment of user consents and administrator approvals,
  • identifying old integrations and unclear ownership,
  • risk assessment and a prioritised action plan,
  • consent settings and an approval process for new applications,
  • ongoing follow-up of identity and application security.

Changes are made together with the business and the system suppliers concerned. Our starting point is to reduce unnecessary risk without disrupting the integrations the organisation actually depends on.

Frequently asked questions

Where can we see which apps have access to Microsoft 365?

In the Microsoft Entra admin center under Entra ID › Enterprise apps › All applications. Under Permissions for each application, the Admin consent tab shows permissions for the whole organisation and the User consent tab shows permissions individual users have approved.

What is the difference between delegated and application permissions?

A delegated permission is used when the application acts for a signed-in user and is limited by what that user can access. An application permission is used without a signed-in user, always requires administrator consent and can give access to information across the whole organisation.

Does MFA protect against consent phishing?

Not on its own. In consent phishing the user signs in genuinely and personally approves a malicious application’s permissions. The protection is to restrict which applications and permissions users can approve and to review existing consents.

Do old permissions disappear if we tighten the consent settings?

No. A changed setting only applies to future consents. Permissions already granted remain until they are revoked, and permissions users have approved are revoked with Microsoft Graph or PowerShell, not in the portal.

Should we switch off user consent completely?

Not necessarily. A good set-up is often to allow only low-risk permissions, or to let Microsoft manage the setting, combined with a workflow where users can request administrator approval for other applications.

Can you show which external applications have access to your Microsoft 365 environment, which permissions they use and why they are still needed? If the answer is uncertain, a defined review is a good first step. Read more about our Microsoft 365 Health Check or contact us to discuss a targeted review of OAuth applications and application permissions.

Sources and further reading: Microsoft Learn, Overview of user and admin consent; Microsoft Learn, Review permissions granted to enterprise applications; Microsoft Learn, Configure how users consent to applications; Microsoft Learn, Manage app consent policies; Microsoft Learn, Protect against consent phishing; Microsoft Learn, Configure the admin consent workflow; Microsoft Learn, App governance in Microsoft Defender for Cloud Apps. Verified 12 November 2026.

This article describes security risks and recommended practices for OAuth and application access in Microsoft 365. Features, permissions, default settings and licence requirements change over time. Which settings are appropriate has to be assessed based on the organisation’s use, risks and technical circumstances.