大网数据广告活动
域与目录服务

Verify first-party Microsoft applications in sign-in reports

· 52CE 我爱测

Describes how to verify first-party Microsoft applications in sign-in reports.

Summary

When you review your sign-in reports, you might see an application in your sign-in report that you don't own and want to identify. You also might wonder how you signed in to that app, if you don't remember accessing the app.

Here's an example sign-in report:

For example, when you access learn.microsoft.com, the application that's shown in the sign-in log may show dev-rel-auth-prod, but this isn't descriptive of learn.microsoft.com.

Although the apps that are listed in sign-in reports are owned by Microsoft and aren't suspicious applications, you can determine whether Microsoft owns a Microsoft Entra service principal that's found in your Microsoft Entra logs.

Note: First-party Microsoft applications don't always result in a service principal that's created in your tenant. In this case, you'll likely continue to see the applications in your sign-in reports.

Verify a first-party Microsoft service principal in your Microsoft Entra tenant

  1. Open the list of enterprise applications in Microsoft Entra ID.

  2. In the navigation pane, select All applications.

  3. In the Application Type drop-down list, select Microsoft Applications, and then select Apply. All applications that are listed here are owned by Microsoft.

    :::image type="content" source="media/verify-first-party-apps-sign-in/microsoft-applications-in-application-type-menu.png" alt-text="Screenshot of the Application Type drop-down menu where Microsoft Applications are selected.":::

  4. In the search box below the drop-down lists, filter the Microsoft application list by adding a specific Display Name or Application ID.

    :::image type="content" source="media/verify-first-party-apps-sign-in/add-display-name-in-searchbox.png" alt-text="Screenshot of the search box where a display name is entered.":::

  5. Select the desired app, and then select Properties in the navigation pane to view the listed app's properties. Verify that you see the following error message:

    You can't delete this application because it's a Microsoft first party application.
    

    :::image type="content" source="media/verify-first-party-apps-sign-in/you-cant-delete-this-application.png" alt-text="Screenshot of the message that displays the statement you can't delete this application because it's a Microsoft first-party application.":::

Verify a first-party Microsoft service principal through PowerShell

Use Microsoft Graph PowerShell SDK to connect to Microsoft Entra ID

  1. Open PowerShell, import Microsoft Graph PowerShell SDK and then connect to Microsoft Entra ID:

    Import-Module Microsoft.Graph.Applications
    Connect-MgGraph
    
  2. In the PowerShell command-line, enter the display name of the application and run the following cmdlet:

    $appDisplayName = '<display name>'
    Get-MgServicePrincipal -Filter "DisplayName eq '$appDisplayName'" | Select-Object Id, DisplayName, SignInAudience, AppOwnerOrganizationId
    
  3. Review the AppOwnerTenantId value in the output.

    :::image type="content" source="media/verify-first-party-apps-sign-in/review-the-app-owner-tenant-id-microsoft-graph.png" alt-text="Screenshot of the output of a request to show the Microsoft Entra service principal via Microsoft Graph PowerShell SDK.":::

    In the screenshot, f8cdef31-a31e-4b4a-93e4-5f571e91255a is the Microsoft Service's Microsoft Entra tenant ID.

Use Microsoft Entra PowerShell to connect to Microsoft Entra ID

  1. Open PowerShell, import Microsoft Graph PowerShell SDK and connect to Microsoft Entra ID:

    Import-Module Microsoft.Entra
    Connect-Entra
    
  2. In the PowerShell command-line, enter the display name of the application and run the following cmdlet:

    $appDisplayName = '<display name>'
    Get-EntraServicePrincipal -SearchString $appDisplayName | Select-Object Id, DisplayName, SignInAudience, AppOwnerOrganizationId
    
  3. Review the result's AppOwnerTenantId.

    :::image type="content" source="media/verify-first-party-apps-sign-in/review-the-app-owner-tenant-id-microsoft-entra.png" alt-text="Screenshot of the output of a request to show the Microsoft Entra service principal via Microsoft Entra PowerShell.":::

    In the screenshot, f8cdef31-a31e-4b4a-93e4-5f571e91255a is the Microsoft Service's Microsoft Entra tenant ID.

Application IDs of Microsoft tenant-owned applications

The following table lists some, but not all, Microsoft tenant-owned applications (tenant ID: 72f988bf-86f1-41af-91ab-2d7cd011db47).

Application Name Application IDs
Graph Explorer de8bc8b5-d9f9-48b1-a8ad-b748da725064
Microsoft Graph Command Line Tools 14d82eec-204b-4c2f-b7e8-296a70dab67e
OutlookUserSettingsConsumer 7ae974c5-1af7-4923-af3a-fb1fd14dcb7e
Vortex [wsfed enabled] 5572c4c0-d078-44ce-b81c-6cbf8d3ed39e

More information

For more information, see Sign-in activity reports in the Microsoft Entra admin center.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 06/03/2025
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。