teamsbootrapper error

NP 416 Reputation points
2023-10-25T04:12:59.4+00:00

when trying to run the bootstrapper as suggested here https://learn.microsoft.com/en-us/microsoftteams/new-teams-bulk-install-client#step-1-upgrade-the-new-teams-application on Win 10 21H2 LTSC i get the below error

Is there anyway to find why the operation aborted? Are there any logs?

User's image

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,376 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. LiweiTian-MSFT 15,600 Reputation points Microsoft Vendor
    2023-10-25T07:04:18.6433333+00:00

    Hi @NP

    You can get the details of the operation abort by looking at Desktop logs, according to the documentation: Desktop logs, also known as bootstrapper logs, contain log data that occurs between the desktop client and the browser.

    User's image

    If there are no details in the logs about the termination of the operation, we recommend:

    1. Download directly through Teams official website.
    2. If Teams already exists on the computer, please contact the administrator and go to Teams update policies in the Teams admin center to set New Teams as the default application, so that Teams can automatically switch to New Teams.

    User's image


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    0 comments No comments

  2. NP 416 Reputation points
    2023-10-25T21:03:33.1+00:00

    @LiweiTian-MSFT thanks for the details. It generated some logs. We already have the policy in place for making the new teams default

    This is in the MSTeamsUpdate_2023-10-26_07-19-45.193.log, not sure if its the most relevant log generated. Not quite sure what to make of it. If we run the bootstrapper and we are already at the latest version will it error out as well?

    Scenario.Step:stop, delta:0, elapsed:130, elapsedSinceProcessStart:340, error:no such file or directory, eventpdclevel:1, fileName:configuration.json, previousStep:start, sequence:1, stepDelta:0
    2023-10-25T20:19:27+11:00 0x00004a4c         Scenario: shell_ecs_refresh [start,success] Scenario.Status:success, Scenario.Step:start, delta:0, elapsed:131, elapsedSinceProcessStart:341, eventpdclevel:1, sequence:0
    2023-10-25T20:19:27+11:00 0x00004a4c         Scenario: shell_ecs_cache [start,success] Scenario.Status:success, Scenario.Step:start, delta:0, elapsed:154, elapsedSinceProcessStart:364, eventpdclevel:1, sequence:0
    2023-10-25T20:19:27+11:00 0x00004a4c         Scenario: shell_ecs_cache [stop,success] InstanceId:dbf476a3-f578-4f03-b10d-60dfd2fdb94a, LatestVersion:23272.2707.2453.769, LatestVersionPath:/BuildSettings/WebView2Canary/x64/latestVersion, Scenario.Mode:1, Scenario.Name:shell_ecs_cache, Scenario.Status:success, Scenario.Step:stop, StatusCode:200, TeamsBuilds:["arm64","macOS","x64","x86"], TeamsWebView2:["app","auth","autostart","core","deviceCapability","ecs","extensibility","files","logging","meetNow","nativeModules","security","systemTray","taskbar","telemetry","thirdPartyDevices","tma","toasts","update","uxStateError","webLauncher","webNrc","webview","windowcontrols"], configExpiryTimeInSec:0, delta:4, elapsed:158, elapsedSinceProcessStart:368, eventpdclevel:1, expiry:Wed, 25 Oct 2023 21:19:24 GMT, previousStep:start, process:updater, requestParameters:{"ClientId":"8bffa38a-2982-4ce0-8fae-b52ecbb49a6c","aaduserid":"9c332c19-5635-44f7-8d4f-feabc5d4270b","agents":"TeamsBuilds,TeamsWebview2","audience":"general","cloud":"prod","cpuarch":"x64","desktopVersion":"23272.2707.2453.769","environment":"prod","id":"9c332c19-5635-44f7-8d4f-feabc5d4270b","osplatform":"windows","osversion":"10.0.19044","teamslocale":"en-us","teamsring":"general","tenantId":"...."}, sequence:1, stepDelta:4
    2023-10-25T20:19:27+11:00 0x00004a4c         EcsFetchCompletion: Ecs settings are already up to date
    2023-10-25T20:19:27+11:00 0x00004a4c         Scenario: shell_ecs_refresh [stop,abandoned] InstanceId:fce6a6-a3dc-487e-928a-ef22b28dc9e3, Scenario.Mode:1, Scenario.Name:shell_ecs_refresh, Scenario.Status:abandoned, Scenario.Step:stop, delta:28, elapsed:159, elapsedSinceProcessStart:369, eventpdclevel:1, previousStep:start, reason:up to date, sequence:1, stepDelta:28
    2023-10-25T20:19:27+11:00 0x00004a4c         UpdaterMain: Wait for ECS check result:0
    2023-10-25T20:19:27+11:00 0x00004a4c         Scenario: shell_updater_register_bgtask [start,success] Scenario.Status:success, Scenario.Step:start, delta:0, elapsed:162, elapsedSinceProcessStart:372, eventpdclevel:1, sequence:0
    2023-10-25T20:19:27+11:00 0x00004a4c         BackgroundTaskBase: Registered TeamsTfwAsyncUpdaterTask background task successfully
    2023-10-25T20:19:27+11:00 0x00004a4c         Scenario: shell_updater_register_bgtask [stop,success] InstanceId:f5f0156d-f751-4d56-8aa1-04418ca23ca6, Scenario.Mode:3, Scenario.Name:shell_updater_register_bgtask, Scenario.Status:success, Scenario.Step:stop, Scenario.Steps:[{"Scenario.Status":"success","Scenario.Step":"stop","delta":0,"elapsed":162,"elapsedSinceProcessStart":372,"previousStep":"start","sequence":1,"stepDelta":0}], Scenario.StepsEx:[{"taskName":"TeamsTfwAsyncUpdaterTask"}], delta:0, elapsed:162, elapsedSinceProcessStart:372, eventpdclevel:1, previousStep:start, sequence:1, stepDelta:0, taskName:TeamsTfwAsyncUpdaterTask
    2023-10-25T20:19:27+11:00 0x00004a4c         Scenario: shell_updater_register_bgtask [start,success] Scenario.Status:success, Scenario.Step:start, delta:0, elapsed:162, elapsedSinceProcessStart:372, eventpdclevel:1, sequence:0
    2023-10-25T20:19:27+11:00 0x00004a4c         BackgroundTaskBase: Registered TeamsTfwEcsTask background task successfully
    2023-10-25T20:19:27+11:00 0x00004a4c         Scenario: shell_updater_register_bgtask [stop,success] InstanceId:7dc70b3d-ebb7-4a60-b5a8-72b1905c6539, Scenario.Mode:3, Scenario.Name:shell_updater_register_bgtask, Scenario.Status:success, Scenario.Step:stop, Scenario.Steps:[{"Scenario.Status":"success","Scenario.Step":"stop","delta":0,"elapsed":162,"elapsedSinceProcessStart":372,"previousStep":"start","sequence":1,"stepDelta":0}], Scenario.StepsEx:[{"taskName":"TeamsTfwEcsTask"}], delta:0, elapsed:162, elapsedSinceProcessStart:372, eventpdclevel:1, previousStep:start, sequence:1, stepDelta:0, taskName:TeamsTfwEcsTask
    2023-10-25T20:19:27+11:00 0x00004a4c         Scenario: shell_msix_update [start,success] Scenario.Status:success, Scenario.Step:start, delta:0, elapsed:165, elapsedSinceProcessStart:375, eventpdclevel:3, sequence:0
    2023-10-25T20:19:27+11:00 0x00004a4c <ERROR> DeploymentProviderMSIX: Already up to date
    2023-10-25T20:19:27+11:00 0x00004a4c <ERROR> WIL: ms-teamsupdate.exe!00007FF71D24B65B: LogHr(1) tid(4a4c) 800704C7 The operation was canceled by the user.
    
    2023-10-25T20:19:27+11:00 0x00004a4c <ERROR> WIL: ms-teamsupdate.exe!00007FF71D3752B6: ReturnHr(1) tid(4a4c) 800704C7 The operation was canceled by the user.
    
        Msg:[winrt::hresult_error: The operation was canceled by the user.] 
    2023-10-25T20:19:27+11:00 0x00004a4c         Scenario: shell_msix_update [stop,incomplete] CurrentVersion:23272.2707.2453.769, DeviceInfo_OfficeMachineId:g82hdc76-56c9-d240-89fe-3d88a82e5331, ErrorText:, ExtendedErrorCode:0x0
    , GenericErrorCode:0x800704c7
    , InstanceId:e7e736c9-13a2-46b6-af84-5e7f3d9f063, LatestVersion:23272.2707.2453.769, Scenario.Mode:3, Scenario.Name:shell_msix_update, Scenario.Status:incomplete, Scenario.Step:stop, Scenario.Steps:[{"Scenario.Status":"incomplete","Scenario.Step":"stop","delta":1,"elapsed":166,"elapsedSinceProcessStart":376,"previousStep":"start","sequence":1,"stepDelta":1}], Scenario.StepsEx:[{"CurrentVersion":"23272.2707.2453.769","DeviceInfo_OfficeMachineId":"d82ddc76-56c9-d240-89fe-3d88a82e5331","ErrorText":"","ExtendedErrorCode":"0x0\n","GenericErrorCode":"0x800704c7\n","LatestVersion":"23272.2707.2453.769","UpdateCheckReason":"MainAppUpdateCheck","UpdateFailureCount":10,"UpdateUrl":"https://statics.teams.microsoft.com/production-windows-x64/23272.2707.2453.769/MSTeams-x64.msix"}], UpdateCheckReason:MainAppUpdateCheck, UpdateFailureCount:10, UpdateUrl:https://statics.teams.microsoft.com/production-windows-x64/23272.2707.2453.769/MSTeams-x64.msix, delta:1, elapsed:166, elapsedSinceProcessStart:376, eventpdclevel:3, previousStep:start, sequence:1, stepDelta:1
    2023-10-25T20:19:27+11:00 0x00004a4c         UpdateStateStoreWinRTAppData: previous app session:89684597-0e8e-47fd-bb99-a72c52ba0bef current app session:2f258950-f033-479a-9a7d-38653c070259 target version:23272.2707.2453.769
    2023-10-25T20:19:27+11:00 0x00004a4c         UpdateStateStoreWinRTAppData: Current total update failure count:10
    2023-10-25T20:19:27+11:00 0x00004a4c         UpdateStateStoreWinRTAppData: Erasing update attempt
    2023-10-25T20:19:27+11:00 0x00004a4c         UpdateStateStoreWinRTAppData: Storing update attempt for app session:2f258950-f033-479a-9a7d-38653c070259,target version:23272.2707.2453.769
    2023-10-25T20:19:27+11:00 0x00004a4c         Scenario: shell_install_msi_addin [start,success] Scenario.Status:success, Scenario.Step:start, delta:0, elapsed:206, elapsedSinceProcessStart:416, eventpdclevel:3, sequence:0
    2023-10-25T20:19:27+11:00 0x00004a4c         Scenario: shell_check_msi_addin_version [start,success] Scenario.Status:success, Scenario.Step:start, delta:0, elapsed:225, elapsedSinceProcessStart:435, eventpdclevel:3, sequence:0
    2023-10-25T20:19:27+11:00 0x00004a4c         Scenario: shell_check_msi_addin_version [stop,success] InstanceId:da5bb3f3-f294-43f7-922c-dbf1712aff13, Scenario.Mode:3, Scenario.Name:shell_check_msi_addin_version, Scenario.Status:success, Scenario.Step:stop, Scenario.Steps:[{"Scenario.Status":"success","Scenario.Step":"stop","delta":25,"elapsed":250,"elapsedSinceProcessStart":460,"previousStep":"start","sequence":1,"stepDelta":25}], Scenario.StepsEx:[{}], delta:25, elapsed:250, elapsedSinceProcessStart:460, eventpdclevel:3, previousStep:start, sequence:1, stepDelta:25
    2023-10-25T20:19:45+11:00 0x00004a4c         Scenario: shell_install_msi_addin [stop,success] InstanceId:82a8bb1d-c58d-4dc0-b244-21c56e2643ld, Scenario.Mode:3, Scenario.Name:shell_install_msi_addin, Scenario.Status:success, Scenario.Step:stop, Scenario.Steps:[{"Scenario.Status":"success","Scenario.Step":"stop","delta":18636,"elapsed":18842,"elapsedSinceProcessStart":19052,"previousStep":"start","sequence":1,"stepDelta":18636}], Scenario.StepsEx:[{"UpdateCheckReason":"MainAppUpdateCheck","errorCode":0,"installedVersion":"1.23.24801","isupdate":1,"packagedVersion":"1.23.27002","teamsFlavor":"T2.1"}], UpdateCheckReason:MainAppUpdateCheck, delta:18636, elapsed:18842, elapsedSinceProcessStart:19052, errorCode:0, eventpdclevel:3, installedVersion:1.23.24801, isupdate:1, packagedVersion:1.23.27002, previousStep:start, sequence:1, stepDelta:18636, teamsFlavor:T2.1
    2023-10-25T20:19:45+11:00 0x00004a4c         TelemetryService: Telemetry service stopped
    

  3. livtecch 0 Reputation points
    2023-11-04T10:31:16.6666667+00:00

    had same issue and even reinstallation of Office or classic Teams did not help

    What helped: the first attempt with the bootstrapper creates a key HKLM\Software\Wow6432Node\Microsoft\Office\Teams.

    As soon as this key is created, the bootstrapper aborts with 0x80004004 when called again.

    Delete the key, then the bootstrapper will work again...


  4. rm 1 Reputation point
    2023-12-05T18:00:34.2666667+00:00

    I discovered the provisioning wouldn't work if there was a profile that manually upgraded on their own (using the "try the new Teams" prompt). I unprovisioned first (teamsbootstrapper.exe -x) and immediately provisioned (teamsbootstrapper.exe -p) and it was successful.

    0 comments No comments