Office.context.ui.openBrowserWindow is undefined for outlook web addins with restricted permission

Daxesh Thoriya 1 Reputation point Microsoft Employee
2021-11-12T13:15:48.58+00:00

Office.context.ui.openBrowserWindow is coming as undefined with restricted permission of outlook add-ins.

If I set "ReadWriteItem" permission Office.context.ui.openBrowserWindow is working fine.

Is this expected?

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
884 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,533 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alison McKay 81 Reputation points Microsoft Employee
    2021-11-20T01:14:29.827+00:00

    Hi @Daxesh Thoriya , thank you for submitting.

    We use Microsoft Q&A to answer questions, and it looks like you're reporting a bug. We use GitHub issues to track bugs. Our GitHub issues have a system for tracking information about your operating system and application build number, and a set of questions for you to answer while submitting the bug. Microsoft Q&A doesn't offer the tracking system we need to help resolve your bug.

    Please submit this issue as a bug to the office-js repository on GitHub: https://github.com/OfficeDev/office-js/issues

    Thanks,
    Alison

    0 comments No comments