OfficeDev / office-js-docs-pr

Microsoft Office Add-ins Documentation
https://learn.microsoft.com/office/dev/add-ins
Creative Commons Attribution 4.0 International
408 stars 251 forks source link

Build your first Outlook Add-in #4577

Closed donaldlscottiii closed 6 months ago

donaldlscottiii commented 6 months ago

Major issues when running the npm start phase.

Manifest package saved to C:\Users\donal\AppData\Local\Temp\manifest.zip running: npx @microsoft/teamsapp-cli install --file-path "C:\Users\donal\AppData\Local\Temp\manifest.zip"

This command is in preview. Log in to your Microsoft 365 account - opening default web browser at https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=7ea7c24c-b1f6-4a20-9d11-9ae12e9e7ac0&scope=https%3A%2F%2Ftitles.prod.mos.microsoft.com%2F.default%20openid%20profile%20offline_access&redirect_uri=http%3A%2F%2Flocalhost%3A57767&client-request-id=09660081-2524-4af4-81f7-f29d9e3e5d4d&response_mode=query&response_type=code&x-client-SKU=msal.js.node&x-client-VER=1.17.3&x-client-OS=win32&x-client-CPU=x64&client_info=1&code_challenge=yHwU6knWG9uwfBUFmULSNxGnIrxT04UsZYz0qKnduIA&code_challenge_method=S256&prompt=select_account#

Uploading package ...

--Error sideloading!-- Error: Error: Command failed: npx @microsoft/teamsapp-cli install --file-path "C:\Users\donal\AppData\Local\Temp\manifest.zip" (×) Error: [Login] Failed to retrieve token silently. If you encounter this problem multiple times, you can delete C:\Users\donal\.fx\account and try again. invalid_scope: 70011 - [2024-05-17 06:03:16Z]: AADSTS70011: The provided value for the input parameter 'scope' is not valid. The scope 'https://dev.teams.microsoft.com/AppDefinitions.ReadWrite openid profile offline_access' does not exist. Trace ID: d39000b8-fbbb-47b4-a36c-9c163796dd00 Correlation ID: 1c17b8da-2ce1-4178-a32c-64301719d912 Timestamp: 2024-05-17 06:03:16Z - Correlation ID: 1c17b8da-2ce1-4178-a32c-64301719d912 - Trace ID: d39000b8-fbbb-47b4-a36c-9c163796dd00 (×) Error: Sideloading failed. (×) Error: {"statusCode":401,"message":"Unauthorized"} (×) Error: m365.InternalError: {"message":"Request failed with status code 401","detail":"{\"statusCode\":401,\"message\":\"Unauthorized\"}","tracingId":""}

STDERR: (×) Error: [Login] Failed to retrieve token silently. If you encounter this problem multiple times, you can delete C:\Users\donal\.fx\account and try again. invalid_scope: 70011 - [2024-05-17 06:03:16Z]: AADSTS70011: The provided value for the input parameter 'scope' is not valid. The scope 'https://dev.teams.microsoft.com/AppDefinitions.ReadWrite openid profile offline_access' does not exist. Trace ID: d39000b8-fbbb-47b4-a36c-9c163796dd00 Correlation ID: 1c17b8da-2ce1-4178-a32c-64301719d912 Timestamp: 2024-05-17 06:03:16Z - Correlation ID: 1c17b8da-2ce1-4178-a32c-64301719d912 - Trace ID: d39000b8-fbbb-47b4-a36c-9c163796dd00 (×) Error: Sideloading failed. (×) Error: {"statusCode":401,"message":"Unauthorized"} (×) Error: m365.InternalError: {"message":"Request failed with status code 401","detail":"{\"statusCode\":401,\"message\":\"Unauthorized\"}","tracingId":""}

Error: Unable to start debugging. Error: Unable to sideload the Office Add-in. Error: Command failed: npx @microsoft/teamsapp-cli install --file-path "C:\Users\donal\AppData\Local\Temp\manifest.zip" (×) Error: [Login] Failed to retrieve token silently. If you encounter this problem multiple times, you can delete C:\Users\donal\.fx\account and try again. invalid_scope: 70011 - [2024-05-17 06:03:16Z]: AADSTS70011: The provided value for the input parameter 'scope' is not valid. The scope 'https://dev.teams.microsoft.com/AppDefinitions.ReadWrite openid profile offline_access' does not exist. Trace ID: d39000b8-fbbb-47b4-a36c-9c163796dd00 Correlation ID: 1c17b8da-2ce1-4178-a32c-64301719d912 Timestamp: 2024-05-17 06:03:16Z - Correlation ID: 1c17b8da-2ce1-4178-a32c-64301719d912 - Trace ID: d39000b8-fbbb-47b4-a36c-9c163796dd00 (×) Error: Sideloading failed. (×) Error: {"statusCode":401,"message":"Unauthorized"} (×) Error: m365.InternalError: {"message":"Request failed with status code 401","detail":"{\"statusCode\":401,\"message\":\"Unauthorized\"}","tracingId":""}

AlexJerabek commented 6 months ago

Hi @donaldlscottiii,

Thanks for reporting this. To clarify, are you following this Outlook quickstart and using the "unified manifest" option?

@Rick-Kirkham, could you please investigate.

microsoft-github-policy-service[bot] commented 6 months ago

This issue has been automatically marked as stale because it is marked as needing author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your interest in Office Add-ins!

microsoft-github-policy-service[bot] commented 6 months ago

This issue has been closed due to inactivity. Please comment if you still need assistance and we'll re-open the issue.