web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Not able to run command Set-OrganizationConfig -PreviewOutlookAddinLaunchEventsEnabled $true

(3) ShareShare
ReportReport
Posted on by 6
Error Occured when Run Command 
Connect-ExchangeOnline

Set-OrganizationConfig -PreviewOutlookAddinLaunchEventsEnabled $true
PS C:\Users\Administrator> Set-OrganizationConfig -PreviewOutlookAddinLaunchEventsEnabled $true
Set-OrganizationConfig : A parameter cannot be found that matches parameter name 'PreviewOutlookAddinLaunchEventsEnabled'.
At line:1 char:24
+ Set-OrganizationConfig -PreviewOutlookAddinLaunchEventsEnabled $true
+                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Set-OrganizationConfig], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Set-OrganizationConfig


 
Categories:
I have the same question (0)
  • Suggested answer
    DAnny3211 Profile Picture
    11,397 on at

    Hi,

     

    The error you're seeing—A parameter cannot be found that matches parameter name 'PreviewOutlookAddinLaunchEventsEnabled'—indicates that the parameter you're trying to use is not recognized by the Set-OrganizationConfig cmdlet in your current environment.

     

    Here's why this might be happening:

     

    1. Parameter Not Available in Your Exchange Version:

       

      • The parameter -PreviewOutlookAddinLaunchEventsEnabled is not listed among the supported parameters for Set-OrganizationConfig in the official documentation [1].

      • It may be a preview or internal-only parameter not yet released or exposed in your version of Exchange Online or Exchange on-premises.

    2. Permissions or Role Limitations:

       

      • Even if the parameter exists, you must have the correct role assignments (e.g., Organization Management) to access it.

      • Some parameters are only available to Microsoft internal tenants or under specific preview programs.

    3. Typo or Deprecated Parameter:

       

      • Double-check the spelling and casing.

      • It’s possible the parameter was deprecated or renamed.


    4.  
     

    What You Can Do:

     

    • Check for Alternatives: If you're trying to enable Outlook Add-in launch events, look for other related parameters like -EnableOutlookEvents, which is supported.

    • Use Get-OrganizationConfig: Run this to inspect current settings and confirm which parameters are available.

    • Contact Microsoft Support: If this parameter is part of a feature you're testing or expecting, Microsoft can confirm its availability or provide guidance.


    •  
     

    Please verify if this helps clarify the issue.

     

    Thanks and best regards,

    Daniele

    Note: This response was prepared with support from Copilot to ensure clarity and completeness.

     

    [1]: Microsoft Learn – Set-OrganizationConfig


    References

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 76

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans