Skip to content

Commit 52e6930

Browse files
author
Mitchell Bifeld
committed
Resolved merge conflicts
2 parents 981575e + a1f209e commit 52e6930

File tree

1,135 files changed

+12245
-4483
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,135 files changed

+12245
-4483
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Create Azure DevOps CI on PR
2+
3+
on:
4+
pull_request:
5+
types: [opened]
6+
7+
jobs:
8+
create-work-item:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Create Azure DevOps Task
12+
env:
13+
ADO_ORG_URL: https://dev.azure.com/KMOps
14+
ADO_PROJECT: ContentExperience
15+
ADO_PAT: ${{ secrets.ADO_PAT }}
16+
run: |
17+
PR_TITLE="${{ github.event.pull_request.title }}"
18+
PR_BODY="${{ github.event.pull_request.body }}"
19+
PR_URL="${{ github.event.pull_request.html_url }}"
20+
21+
curl -X POST \
22+
-H "Content-Type: application/json-patch+json" \
23+
-H "Authorization: Basic $(echo -n ":$ADO_PAT" | base64)" \
24+
$ADO_ORG_URL/$ADO_PROJECT/_apis/wit/workitems/$ExternalCI?api-version=6.0 \
25+
-d '[
26+
{
27+
"op": "add",
28+
"path": "/fields/System.Title",
29+
"value": "PR Opened: '"$PR_TITLE"'"
30+
},
31+
{
32+
"op": "add",
33+
"path": "/fields/System.Description",
34+
"value": "Pull Request URL: '"$PR_URL"'\n\n'"$PR_BODY"'"
35+
}
36+
]'

.openpublishing.redirection.developer.json

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6718,6 +6718,102 @@
67186718
{
67196719
"source_path": "support/developer/dotnet/framework/installation/patching-framework-fails.md",
67206720
"redirect_url": "/previous-versions/troubleshoot/dotnet/framework/patching-framework-fails"
6721+
},
6722+
{
6723+
"source_path": "support/developer/dotnet/wcf/service-throws-exception.md",
6724+
"redirect_url": "/previous-versions/troubleshoot/dotnet/wcf/service-throws-exception"
6725+
},
6726+
{
6727+
"source_path": "support/developer/dotnet/wcf/asynchronous-service-use-wrong-impersonation.md",
6728+
"redirect_url": "/previous-versions/troubleshoot/dotnet/wcf/asynchronous-service-use-wrong-impersonation"
6729+
},
6730+
{
6731+
"source_path": "support/developer/dotnet/wcf/call-timed-out-aspnet-mvc-controller.md",
6732+
"redirect_url": "/previous-versions/troubleshoot/dotnet/wcf/call-timed-out-aspnet-mvc-controller"
6733+
},
6734+
{
6735+
"source_path": "support/developer/dotnet/wcf/cannot-validate-run-workflow.md",
6736+
"redirect_url": "/previous-versions/troubleshoot/dotnet/wcf/cannot-validate-run-workflow"
6737+
},
6738+
{
6739+
"source_path": "support/developer/dotnet/wcf/wcf-extensions-concurrent-request-run-sequentially.md",
6740+
"redirect_url": "/previous-versions/troubleshoot/dotnet/wcf/wcf-extensions-concurrent-request-run-sequentially"
6741+
},
6742+
{
6743+
"source_path": "support/developer/dotnet/wcf/disconnects-http-bindings.md",
6744+
"redirect_url": "/previous-versions/troubleshoot/dotnet/wcf/disconnects-http-bindings"
6745+
},
6746+
{
6747+
"source_path": "support/developer/dotnet/wcf/endpoint-address-use-the-discovery-client-channel.md",
6748+
"redirect_url": "/previous-versions/troubleshoot/dotnet/wcf/endpoint-address-use-the-discovery-client-channel"
6749+
},
6750+
{
6751+
"source_path": "support/developer/dotnet/wcf/error-create-performance-counters.md",
6752+
"redirect_url": "/previous-versions/troubleshoot/dotnet/wcf/error-create-performance-counters"
6753+
},
6754+
{
6755+
"source_path": "support/developer/dotnet/wcf/error-occurs-remove-an-appfabric-cluster-server.md",
6756+
"redirect_url": "/previous-versions/troubleshoot/dotnet/wcf/error-occurs-remove-an-appfabric-cluster-server"
6757+
},
6758+
{
6759+
"source_path": "support/developer/dotnet/wcf/error-disable-non-http-activation.md",
6760+
"redirect_url": "/previous-versions/troubleshoot/dotnet/wcf/error-disable-non-http-activation"
6761+
},
6762+
{
6763+
"source_path": "support/developer/dotnet/wcf/error-service-use-activation.md",
6764+
"redirect_url": "/previous-versions/troubleshoot/dotnet/wcf/error-service-use-activation"
6765+
},
6766+
{
6767+
"source_path": "support/developer/dotnet/wcf/error-discovery-udp.md",
6768+
"redirect_url": "/previous-versions/troubleshoot/dotnet/wcf/error-discovery-udp"
6769+
},
6770+
{
6771+
"source_path": "support/developer/dotnet/wcf/fail-install-wif.md",
6772+
"redirect_url": "/previous-versions/troubleshoot/dotnet/wcf/fail-install-wif"
6773+
},
6774+
{
6775+
"source_path": "support/developer/dotnet/wcf/kerberos-not-used-call-service.md",
6776+
"redirect_url": "/previous-versions/troubleshoot/dotnet/wcf/kerberos-not-used-call-service"
6777+
},
6778+
{
6779+
"source_path": "support/developer/dotnet/wcf/precompiled-workflow-activation-fails.md",
6780+
"redirect_url": "/previous-versions/troubleshoot/dotnet/wcf/precompiled-workflow-activation-fails"
6781+
},
6782+
{
6783+
"source_path": "support/developer/dotnet/wcf/rest-generate-metadata-wsdl.md",
6784+
"redirect_url": "/previous-versions/troubleshoot/dotnet/wcf/rest-generate-metadata-wsdl"
6785+
},
6786+
{
6787+
"source_path": "support/developer/dotnet/wcf/service-does-not-start-automatically.md",
6788+
"redirect_url": "/previous-versions/troubleshoot/dotnet/wcf/service-does-not-start-automatically"
6789+
},
6790+
{
6791+
"source_path": "support/developer/dotnet/wcf/service-scale-up-slowly.md",
6792+
"redirect_url": "/previous-versions/troubleshoot/dotnet/wcf/service-scale-up-slowly"
6793+
},
6794+
{
6795+
"source_path": "support/developer/dotnet/wcf/service-operations-use-wrong-impersonation-context.md",
6796+
"redirect_url": "/previous-versions/troubleshoot/dotnet/wcf/service-operations-use-wrong-impersonation-context"
6797+
},
6798+
{
6799+
"source_path": "support/developer/dotnet/wcf/service-use-a-non-default-etw-provider-id.md",
6800+
"redirect_url": "/previous-versions/troubleshoot/dotnet/wcf/service-use-a-non-default-etw-provider-id"
6801+
},
6802+
{
6803+
"source_path": "support/developer/dotnet/wcf/socketexception-connection-pooling.md",
6804+
"redirect_url": "/previous-versions/troubleshoot/dotnet/wcf/socketexception-connection-pooling"
6805+
},
6806+
{
6807+
"source_path": "support/developer/dotnet/wcf/x509certificatevalidator-service-certificate.md",
6808+
"redirect_url": "/previous-versions/troubleshoot/dotnet/wcf/x509certificatevalidator-service-certificate"
6809+
},
6810+
{
6811+
"source_path": "support/developer/dotnet/wcf/wcf-net-tcp-service-stop-response.md",
6812+
"redirect_url": "/previous-versions/troubleshoot/dotnet/wcf/wcf-net-tcp-service-stop-response"
6813+
},
6814+
{
6815+
"source_path": "support/developer/dotnet/wcf/workflow-service-cannot-receive-messages-in-order.md",
6816+
"redirect_url": "/previous-versions/troubleshoot/dotnet/wcf/workflow-service-cannot-receive-messages-in-order"
67216817
}
67226818
]
67236819
}

.openpublishing.redirection.exchange.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
{
44
"source_path": "Exchange/ExchangeOnline/mobile-devices/outlook-app-access-end-after-june-1-if-ews-app-policies-not-set-correctly.md",
55
"redirect_url": "/previous-versions/troubleshoot/exchange/exchangeonline/outlook-app-access-end-after-june-1-if-ews-app-policies-not-set-correctly"
6+
},
7+
{
8+
"source_path": "Exchange/ExchangeOnline/outlook-on-the-web-issues/archive-mailbox-not-visible.md",
9+
"redirect_url": "/troubleshoot/outlook/profiles-and-accounts/archive-mailbox-not-visible"
610
}
711
]
812
}

.openpublishing.redirection.json

Lines changed: 42 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13664,7 +13664,6 @@
1366413664
"source_path": "support/dynamics/gp/unapproved-pending-change-order-exist.md",
1366513665
"redirect_url": "/troubleshoot/dynamics/gp/welcome-gp"
1366613666
},
13667-
1366813667
{
1366913668
"source_path": "support/dynamics/gp/use-banked-paycodes-with-project-accounting.md",
1367013669
"redirect_url": "/troubleshoot/dynamics/gp/welcome-gp"
@@ -13688,12 +13687,12 @@
1368813687
{
1368913688
"source_path": "support/windows-server/active-directory/troubleshoot-errors-join-computer-to-domain.md",
1369013689
"redirect_url": "/troubleshoot/windows-server/active-directory/domain-join-networking-errors"
13691-
},
13690+
},
13691+
{
13692+
"source_path": "support/power-platform/power-automate/desktop-flows/troubleshoot-excel-errors.md",
13693+
"redirect_url": "/troubleshoot/power-platform/power-automate/desktop-flows/office-automation/excel/troubleshoot-excel-errors"
13694+
},
1369213695
{
13693-
"source_path": "support/power-platform/power-automate/desktop-flows/troubleshoot-excel-errors.md",
13694-
"redirect_url": "/troubleshoot/power-platform/power-automate/desktop-flows/office-automation/excel/troubleshoot-excel-errors"
13695-
},
13696-
{
1369713696
"source_path": "support/entra/entra-id/mfa/authorization-request-denied-graph-api.md",
1369813697
"redirect_url": "/troubleshoot/entra/entra-id/app-integration/troubleshoot-authorization-requestdenied-graph-api",
1369913698
"redirect_document_id": false
@@ -13800,6 +13799,42 @@
1380013799
"source_path": "support/sql/tools/error-you-run-sqlmaint-utility.md",
1380113800
"redirect_url": "/previous-versions/troubleshoot/sql/tools/error-you-run-sqlmaint-utility",
1380213801
"redirect_document_id": false
13802+
},
13803+
{
13804+
"source_path": "support/azure/azure-monitor/activity-logs/config-export/centralized-configuration-of-activity-logs-to-event-hub.md",
13805+
"redirect_url": "/troubleshoot/azure/azure-monitor/welcome-azure-monitor"
13806+
},
13807+
{
13808+
"source_path": "support/azure/azure-monitor/activity-logs/config-export/exporting-directory-level-activity-logs-to-event-hub.md",
13809+
"redirect_url": "/troubleshoot/azure/azure-monitor/welcome-azure-monitor"
13810+
},
13811+
{
13812+
"source_path": "support/azure/azure-monitor/activity-logs/config-export/pushing-subscription-activity-logs-to-sentinel.md",
13813+
"redirect_url": "/troubleshoot/azure/azure-monitor/activity-logs/config-export/push-subscription-activity-logs-to-sentinel"
13814+
},
13815+
{
13816+
"source_path": "support/azure/azure-monitor/activity-logs/config-export/resolving-log-limit-issues-in-azure-function-apps.md",
13817+
"redirect_url": "/troubleshoot/azure/azure-monitor/welcome-azure-monitor"
13818+
},
13819+
{
13820+
"source_path": "support/azure/azure-monitor/activity-logs/config-export/understanding-and-managing-diagnostic-settings-retention.md",
13821+
"redirect_url": "/troubleshoot/azure/azure-monitor/welcome-azure-monitor"
13822+
},
13823+
{
13824+
"source_path": "support/azure/azure-monitor/activity-logs/config-export/understanding-and-transitioning-from-legacy-to-diagnostic-settings.md",
13825+
"redirect_url": "/troubleshoot/azure/azure-monitor/welcome-azure-monitor"
13826+
},
13827+
{
13828+
"source_path": "support/azure/azure-monitor/activity-logs/config-export/diagnostic-settings-transition-from-legacy-solutions.md",
13829+
"redirect_url": "/troubleshoot/azure/azure-monitor/welcome-azure-monitor"
13830+
},
13831+
{
13832+
"source_path": "support/sql/database-engine/install/windows/error-install-sql-server-2008-r2.md",
13833+
"redirect_url": "/troubleshoot/sql/database-engine/install/windows/error-install-sql-server"
13834+
},
13835+
{
13836+
"source_path": "support/sql/database-engine/install/windows/update-or-slipstream-installation.md",
13837+
"redirect_url": "/sql/database-engine/install-windows/install-sql-server-using-slipstream"
1380313838
}
1380413839
]
13805-
}
13840+
}

.openpublishing.redirection.outlook.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@
1919
{
2020
"source_path": "Outlook/Mobile/exchange-connectivity/outlook-for-ios-and-android-with-abq-rules-are-quarantined.md",
2121
"redirect_url": "/previous-versions/troubleshoot/outlook/outlook-for-ios-and-android-with-abq-rules-are-quarantined"
22+
},
23+
{
24+
"source_path": "Outlook/Mac/outlook-mac-welcome.yml",
25+
"redirect_url": "/troubleshoot/outlook/legacy-outlook-mac-welcome"
26+
},
27+
{
28+
"source_path": "Outlook/client/outlook-client-welcome.yml",
29+
"redirect_url": "/troubleshoot/outlook/classic-outlook-windows-welcome"
2230
}
2331
]
2432
}

.openpublishing.redirection.viva.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@
2424
"source_path": "Viva/Engage/viva-engage-welcome.yml",
2525
"redirect_url": "/previous-versions/troubleshoot/content-retirement"
2626
},
27-
{
28-
"source_path": "Viva/Pulse/fix-setup-error-messages.md",
29-
"redirect_url": "/previous-versions/troubleshoot/content-retirement"
30-
},
31-
{
32-
"source_path": "Viva/Pulse/viva-pulse-welcome.yml",
33-
"redirect_url": "/previous-versions/troubleshoot/content-retirement"
34-
},
3527
{
3628
"source_path": "Viva/Viva-suite-administration/viva-self-help-diagnostics.md",
3729
"redirect_url": "/previous-versions/troubleshoot/content-retirement"
@@ -47,6 +39,10 @@
4739
{
4840
"source_path": "Viva/Insights/viva-insights-errors.md",
4941
"redirect_url": "/troubleshoot/viva/insights/error-messages/viva-insights-errors"
42+
},
43+
{
44+
"source_path": "Viva/pulse/fix-setup-error-messages.md",
45+
"redirect_url": "/troubleshoot/viva/pulse/setup-errors/fix-setup-error-messages"
5046
}
5147
]
5248
}
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
---
2+
title: Resolve Issues in Exchange Online PowerShell Module after WAM Integration
3+
description: Resolves compatibility issues when using Exchange Online PowerShell after Web Account Manager integration.
4+
author: cloud-writer
5+
ms.author: meerak
6+
audience: ITPro
7+
ms.topic: troubleshooting
8+
ms.custom:
9+
- sap:Administrative Tasks
10+
- Exchange Online
11+
- CSSTroubleshoot
12+
manager: dcscontentpm
13+
search.appverid:
14+
- MET150
15+
appliesto:
16+
- Exchange Online
17+
ms.date: 08/21/2025
18+
ms.reviewer: vivepai, ninob
19+
---
20+
# Resolve issues in Exchange Online PowerShell module after WAM integration
21+
22+
Beginning in Exchange Online PowerShell module version 3.7.0, Microsoft is implementing Web Account Manager (WAM) as the default authentication broker for user authentication. Although WAM offers improved security and a streamlined user experience, it might cause compatibility challenges in some situations. This article discusses these situations and provides workarounds for them.
23+
24+
> [!NOTE]
25+
> Although you can use the **DisableWAM** switch together with the [Connect-ExchangeOnline](/powershell/module/exchangepowershell/connect-exchangeonline) command to disable WAM when you connect to Exchange Online PowerShell, you should use this option only as a temporary method. If you require assistance to resolve issues without having to disable WAM, contact Microsoft Support at [[email protected]](mailto:[email protected]).
26+
27+
## Scenario: Using the RunAs option
28+
29+
### Symptoms
30+
31+
When you run the `Connect-ExchangeOnline` PowerShell command under a different user context than the credentials that were used to sign in to Windows, WAM-based authentication fails.
32+
33+
In this scenario, you receive the following error message:
34+
35+
> One or more errors occurred. (Unknown Status: Unexpected Error: 0xffffffff80070520 Context: A specified logon session does not exist. It may already have been terminated. Tag: 0x21420087 (error code -2147023584) (internal error code 557973639))- at Microsoft.Exchange.Management.ExoPowershellSnapin.GetConnectionContext.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord();InnerException : Unknown Status: Unexpected Error: 0xffffffff80070520 Context: A specified logon session does not exist. It may already have been terminated. Tag: 0x21420087 (error code -2147023584) (internal error code 557973639)…;
36+
37+
### Cause
38+
39+
WAM relies on the active user session to load its plugins and to access cryptographic keys and certificates that are associated with a user profile. If you run PowerShell under a different context, this action isolates the session and prevents WAM from functioning correctly.
40+
41+
### Workaround
42+
43+
For security, you shouldn't use the `RunAs` option to run PowerShell commands. This method bypasses key protections and introduces risks that are associated with impersonation and session isolation.
44+
45+
Run PowerShell only in the same context as that of the signed-in Windows user to ensure compatibility with WAM. You can disable WAM temporarily by using the DisableWAM parameter together with the `Connect-ExchangeOnline` PowerShell command to connect to Exchange Online and then re-enable WAM.
46+
47+
## Scenario: Running GDAP flows
48+
49+
### Symptoms
50+
51+
In certain Granular Delegated Admin Privileges (GDAP) flows, WAM-based authentication causes tokens to miss required WIDS claims.
52+
53+
In this scenario, you receive the following error message:
54+
55+
> The role assigned to user '[email protected]' isn't supported in this scenario.
56+
57+
### Cause
58+
59+
WAM might not correctly populate all the required claims in GDAP flows, especially if you use the `-DelegatedOrganization` parameter.
60+
61+
### Workaround
62+
63+
Disable WAM temporarily to connect to Exchange Online PowerShell in GDAP flows.
64+
65+
Collect diagnostic logs by using the -EnableErrorReporting parameter together with the `Connect-ExchangeOnline` PowerShell command, and send the logs to [[email protected]](mailto:[email protected]).
66+
67+
## Scenario: Using Windows Task Scheduler
68+
69+
### Symptoms
70+
71+
Scripts that use WAM-based authentication fail when they're run in the Windows Task Scheduler by having the **Run whether user is logged on or not** security option enabled.
72+
73+
In this scenario, you receive the following error message:
74+
75+
> One or more errors occurred. (Unknown Status: Unexpected Error: 0xffffffff80070520 Context: A specified logon session does not exist. It may already have been terminated. Tag: 0x21420087 (error code -2147023584) (internal error code 557973639))- at Microsoft.Exchange.Management.ExoPowershellSnapin.GetConnectionContext.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord();InnerException : Unknown Status: Unexpected Error: 0xffffffff80070520 Context: A specified logon session does not exist. It may already have been terminated. Tag: 0x21420087 (error code -2147023584) (internal error code 557973639)…;
76+
77+
### Cause
78+
79+
WAM requires an active user session in order to function. In inactive sessions, critical components such as **%LOCALAPPDATA%**, cryptographic keys, and certificates are inaccessible.
80+
81+
When the script execution starts, it has to sign in to Exchange Online. However, if the user doesn't sign in to the system, the script sign-in fails because WAM doesn't have the required user information to facilitate the script's sign-in attempt.
82+
83+
### Workaround
84+
85+
To run automated scripts, use certificate-based authentication. This method is secure and recommended. Alternatively, you can run scripts by using scheduling methods that preserve the user session context.

Exchange/ExchangeOnline/onlinetoc/toc.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ items:
106106
href: ../administration/public-folder-permissions-in-exchange-admin-center-show-guid-not-name.md
107107
- name: Repeated calls against the same folder are slow
108108
href: ../administration/slow-repeated-calls-against-same-folder.md
109+
- name: Resolve validation errors for an archive mailbox
110+
href: ../administration/validation-errors-for-mailbox-archive-guid.md
109111
- name: Self-help diagnostics
110112
href: ../administration/self-help-diagnostics.md
111113
- name: Site mailbox retirement
@@ -126,12 +128,12 @@ items:
126128
href: ../administration/update-of-client-access-rules-for-office-365-customers.md
127129
- name: UsageLocation validation error about Enable-UMMailbox
128130
href: ../administration/enable-ummailbox-cannot-be-performed-error.md
129-
- name: Resolve validation errors for an archive mailbox
130-
href: ../administration/validation-errors-for-mailbox-archive-guid.md
131131
- name: View and update address list membership
132132
href: ../administration/view-update-address-list-membership.md
133133
- name: Voice mail settings are missing from Options
134134
href: ../administration/voice-mail-settings-missing-from-options.md
135+
- name: WAM integration issues
136+
href: ../administration/wam-integration-issues.md
135137
- name: Windows Mail app not blocked by ActiveSync settings
136138
href: ../administration/windows-mail-app-not-blocked.md
137139
- name: WinRM client cannot process the request
@@ -502,8 +504,6 @@ items:
502504
href: ../outlook-issues/we-cant-show-mailtips-right-now-warning.md
503505
- name: Outlook on the web Issues
504506
items:
505-
- name: Archive mailbox doesn't appear in Outlook or Outlook on the web
506-
href: ../outlook-on-the-web-issues/archive-mailbox-not-visible.md
507507
- name: Can't create a new message by using OWA
508508
href: ../outlook-on-the-web-issues/cannot-create-new-message-in-owa.md
509509
- name: Can't edit an Office document directly from an email message

0 commit comments

Comments
 (0)