optionkda.blogg.se

Outlook crashes when opening shared mailbox
Outlook crashes when opening shared mailbox









outlook crashes when opening shared mailbox outlook crashes when opening shared mailbox

I tried to comment the impersonation line and use delegation to access the mailbox folders but I get the following error. Code: a:ErrorNonPrimarySmtpAddress (Viewpoint::EWS::Errors::SoapResponseError)įrom /Users/yasitha/.rvm/gems/ruby-2.3.0/gems/viewpoint-1.1.0/lib/ews/connection.rb:103:in `post'įrom /Users/yasitha/.rvm/gems/ruby-2.3.0/gems/viewpoint-1.1.0/lib/ews/connection.rb:81:in `dispatch'įrom /Users/yasitha/.rvm/gems/ruby-2.3.0/gems/viewpoint-1.1.0/lib/ews/soap/exchange_web_service.rb:212:in `do_soap_request'įrom /Users/yasitha/.rvm/gems/ruby-2.3.0/gems/viewpoint-1.1.0/lib/ews/soap/exchange_data_services.rb:503:in `find_folder'įrom /Users/yasitha/.rvm/gems/ruby-2.3.0/gems/viewpoint-1.1.0/lib/ews/folder_accessors.rb:45:in `folders' Users/yasitha/.rvm/gems/ruby-2.3.0/gems/viewpoint-1.1.0/lib/ews/connection.rb:121:in `check_response': SOAP Error: Message: The primary SMTP address must be specified when referencing a mailbox. When I tried the above script to get shared mailbox folders I am getting following error.

outlook crashes when opening shared mailbox

I can access user mailbox folders using the same script. I am having a issue when accessing shared mailboxes. I have created required permissions and impersonations for all the mailboxes. User_email = Viewpoint::EWSClient.new endpoint, admin_email, passwordĬli.set_impersonation 'PrimarySmtpAddress', user_email #impersonation I am using the following ruby script with viewpoint gem to do it. I am trying get mailbox folders using global admin account credentials via EWS.











Outlook crashes when opening shared mailbox