Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build your first Outlook Add-in #4577

Closed
donaldlscottiii opened this issue May 17, 2024 · 3 comments
Closed

Build your first Outlook Add-in #4577

donaldlscottiii opened this issue May 17, 2024 · 3 comments
Assignees
Labels
Area: Outlook Feedback on Outlook content Needs: author feedback Waiting for author (creator) of Issue to provide more info Status: no recent activity Issue or PR is stale (no recent activity) Type: discussion

Comments

@donaldlscottiii
Copy link

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":""}

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP label May 17, 2024
@AlexJerabek
Copy link
Collaborator

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.

@AlexJerabek AlexJerabek added Area: Outlook Feedback on Outlook content Needs: author feedback Waiting for author (creator) of Issue to provide more info Type: discussion and removed Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP labels May 17, 2024
Copy link
Contributor

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 microsoft-github-policy-service bot added the Status: no recent activity Issue or PR is stale (no recent activity) label May 21, 2024
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Outlook Feedback on Outlook content Needs: author feedback Waiting for author (creator) of Issue to provide more info Status: no recent activity Issue or PR is stale (no recent activity) Type: discussion
Projects
None yet
Development

No branches or pull requests

3 participants