Office 365 Enable CORS

I want to deploy a javascript/jquery Mail and Calendar app to Office 365. But, the app needs to have CORS enabled so it can do XMPP with a server out of the domain.
How do I set up my Office365 to enable CORS?

Hi,
Here is a similar thread for your reference:
http://sharepoint.stackexchange.com/questions/123614/sharepoint-online-cors
As this question is more relate to Office 365, I suggest you post it to Office 365 Forum, you will get more help and confirmed answers from there.
http://community.office365.com/en-us/forums/default.aspx
Best regards
Dennis Guo
TechNet Community Support

Similar Messages

  • Deactivate Sandbox Solution in Office 365 with no access to SharePoint UI

    I have a sandbox solution custom action deployed to my Office 365 site. The custom action is a simple ScriptLink that points to a script. After I activated the feature, every page in the entire Site Collection comes back as a blank page. Every page. Site
    Settings, Solutions, List Settings, pages, lists, views.. you name it.. it's a blank page.  The entire page contents is:
    <html><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"><meta name="Robots" content="NOINDEX " /></head><body></body>
                    <script type="text/javascript">
                     var gearPage = document.getElementById('GearPage');
                     if(null != gearPage)
                         gearPage.parentNode.removeChild(gearPage);
                         document.title = "Error";
                     </script>
                     </html>
    Is there anyway for me to deactivate the Custom Action Sandbox Solution without having access to the SharePoint UI?  There doesn't seem to be a PowerShell cmdlet to deactivate a feature and I'm quickly running out of ideas.
    thanks for the help!
    Mark
    The SharePoint Hillbilly
    Fewer Big Words... More Pretty Pictures...
    http://www.SharePointHillbilly.com

    Hi,
    According to your post, my understanding is that you want to deactivate a Sandbox solution feature in Office 356 without accessing to SharePoint UI.
    We can enable or disable a feature from PowerShell using Client Object Model in SharePoint Online.
    Here is an example for your reference:
    http://geeks.ms/blogs/lmanez/archive/2013/09/29/office-365-enable-disable-feature-from-power-shell-using-csom.aspx
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Not able to set security group without mail enabled as site collection admin using powershell in sharepoint online site - office 365

    not able to set security group without mail enabled as site collection admin using powershell in sharepoint online site - office 365?
    Any idea?

    after few days test in my lab, I can see that only email enabled group can be added as site collection admin using POWERSHELL.
    hope this helps who stuck like me!! :-)

  • Need a script to enable in-place hold on Office 365

    Hello, I need a script to enable in-place hold on Office 365 for my users.
    The options that I have found for this so far is to enable in-place hold for a DL or an individual user. Is there a way to use a CSV instead?
    This is what I have used before.....where "allstaff" is the name of a DL.
    New-MailboxSearch -name "3 Year In-Place Hold" -SourceMailboxes allstaff -InPlaceHoldEnabled $true -ItemHoldPeriod 1095

    That doesn't seem to work.........I think it's trying to create a new hold query for every user.
    PS C:\scripts> ./user_hold.ps1
    WARNING: The hold setting may take up to 60 minutes to take effect.
    Name                CreatedBy           InPlaceHoldEnabled  Status
    3 Year In-Place ... S-1-5-21-2495351... True                NotStarted
    Unable to execute the task. Reason: A mailbox search named <3 Year In-Place Hol
    d> already exists or is currently being deleted. Please choose a different name
        + CategoryInfo          : InvalidArgument: (Microsoft.Excha...DiscoverySea
       rch:MailboxDiscoverySearch) [], MailboxSearchTaskException
        + FullyQualifiedErrorId : [Server=BLUPR06MB097,RequestId=e8df9b95-2e00-428
       d-813f-da05ea8d09d4,TimeStamp=11/5/2013 9:38:05 PM] [FailureCategory=Cmdle
      t-MailboxSearchTaskException] 95CD9ECA
    So my next question...........how do I add users to an existing In-Place hold?

  • How to Enable Ratings on SharePoint List using Client Object Model for Office 365 SharePoint Site.

    How to Enable Ratings on SharePoint List using Client Object Model code for Office 365 SharePoint Site.
    Thanks in Advance
    Rajendra K

    Hi Rajendra,
    here you are the code and the blog, let me know if this helps
    using (ClientContext ctx = new ClientContext(https://yourSiteUrl))
    Web w = ctx.Web;
    List l = w.Lists.GetByTitle("yourListName");
    ctx.Load(l, info => info.Id);
    ctx.ExecuteQuery();
    string ListID = l.Id.ToString();
    Microsoft.Office.Server.ReputationModel.Reputation.SetRating(ctx, ListID, 1, 5);
    ctx.ExecuteQuery();
    http://blogs.technet.com/b/speschka/archive/2013/07/08/how-to-use-csom-with-ratings-in-sharepoint-2013.aspx
    Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation

  • Email enabled lists/libraries in SharePoint Office 365

    very specific question about SharePoint in Office 365.  Can you have email enabled lists?  That is, a SharePoint list or document library with an email address that enables incoming email.  This is a feature in on-premise SharePoint.  I
    need to know if it is available in Office 365 and under which plans.
    Randall F Smith

    Here's a list of four 3rd party apps that allow you to do this with SharePoint Online 
    http://blog.pentalogic.net/2012/08/options-sharepoint-onlineemail-enabled-document-libraries-lists/
    Pentalogic
    MessageOps
    Vorsite
    Cloud2050
    (disclaimer, the first one in that list is from my company)
    Pentalogic Technology - Web Parts for Microsoft SharePoint
    www.pentalogic.net

  • With Multi-Factor Authentication ENABLED how can a admin connect remotely to manage Office 365 with PowerShell

    With Multi-Factor Authentication ENABLED how can office 365 admin connect remotely to manage Office 365 with Power-Shell ?
    When I key-in my credentials, auth fails with invalid username and password ?
    Does any know the procedure ?

    This question was closed over a year ago.   You will  need to start a new question.  You can post a link back here if you think it helps.
    I also recommend asking in the O365 developers forum for how to do bulk license upgrades.  You can use the answer here and just remove and then add the new license. 
    ¯\_(ツ)_/¯

  • After Enable .xml file on office 365 is block.

    HI,
    Is there any solution.
    after enable .xml file on office 365 for owa not able to view and download. xml files.
    I have run below commmand
    Get-OwaMailboxPolicy | Set-OwaMailboxPolicy -BlockedFileTypes @{Remove = ".xml"}
    Get-OwaMailboxPolicy | Set-OwaMailboxPolicy -AllowedFileTypes @{Add = ".xml"}
    Get-OwaMailboxPolicy | Set-OwaMailboxPolicy -BlockedMimeTypes @{Remove = "text/xml", "application/xml”}
    Get-OwaMailboxPolicy | Set-OwaMailboxPolicy –AllowedMimeTypes @{Add = "text/xml", "application/xml”}
    is there any thing else that I should do
    thanks

    Hi,
    Run this command to make sure XML is added into allowedtypes : 
    (get-OwaMailboxPolicy OwaMailboxPolicy-Default).AllowedFileTypes
    Also confirm, If you still getting this error message? (or) It is just not showing the preview in OWA?
    It might take some time for replication, after that you will have an option to download : 
    Regards,
    Kingson
    Thanks, Kingson

  • Bulk enable Lync Online for users already synced to Office 365 E1

    We already have 8000 users on Office 365 using E1 Exchange Online. We also have a handful who are using E3 with all services. How do I create a powershell script that will enable all users for Lync Online in addition to what ever licenses and services
    they are currently using?

    Hi Chudly,
    For the office365 issue, I also recommend you can post in dedicated forum for more efficient support:
    http://community.office365.com/en-us/f/166.aspx
    If you want to modify the powershell script, please post the current script and the issue, we will notice and continue to follow up.
    If there is anything else regarding this issue, please feel free to post back.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Bulk-enabling users for the Office 365 Messaging Service

    Is it possible to bulk-assign the Office 365 Messaging Service for Unity users after they are migrated to Office 365 from our on-premises Exchange environment instead of manually going into the Cisco Unity Connection Administration tool and performing these steps?
    4.1) Edit the user account in the Cisco Unity Connection Administration
    4.2) From the Edit drop-down menu, select Unified Messaging Accounts
    4.3) Click Add New
    4.4) Select the Office 365 messaging service you created
    4.5) Have it use the corporate email address unless it doesn't actually match the email address for the user on Office 365.
    4.6) Save
    I am hoping something can be done with the Bulk Administration Tool.... :).

    Yep its possible with BAT, i would export the users out. Modify the CSV to only reflect the users that you need, and make sure you have the 'serviceDisplayName' column populated and use the CSV to update it. The BAT column names can be found here: http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/connection/10x/administration/guide/10xcucsagx/10xcucsagappb.html

  • 3 million user on Local AD to be synchronized with Office 365 FID issue

    Hello everyone,
    I have a customer (University) Who has an issue with DirSync. They have 3 million users on Local AD they want to synchronize with Office 365 to enable
    these users for Exchange online. 
    Now they have users "Students" enabled for Exchange online and management and staff are enabled on the On-premises Exchange servers. 
    Dirsync during the day synchronize 2 times fine without any error and again 2 times doesn't synchronize and gives error with no details. the error
    is "Stopped Extension-dll exception" 
    More errors shown as below 
    Directory Synchronization:
    An unknown error occurred with the Microsoft Online Services Sign-in Assistant. Contact Technical Support. SetCredential() failed. Contact Technical
    Support.  (0x8009000B)
    I am attaching other errors as well
    at Microsoft.Online.Coexistence.ProvisionHelper.GetLiveCompactToken(String userName, String userPassword)
    at Microsoft.Azure.ActiveDirectory.Connector.ProvisioningServiceAdapter.Initialize()
    at Microsoft.Azure.ActiveDirectory.Connector.ProvisioningServiceAdapter.Import(Byte[] syncCookie, Boolean isFullImport)
    at Microsoft.Azure.ActiveDirectory.Connector.Connector.GetImportEntriesCore()
    at Microsoft.Azure.ActiveDirectory.Connector.Connector.GetImportEntries(GetImportEntriesRunStep getImportEntriesRunStep)
    Forefront Identity Manager 4.1.3465.0"
    FIMSynchronizationService:
    The management agent "Windows Azure Active Directory Connector" failed on run profile "Delta Import Delta Sync" because the server encountered errors.
    FIMSynchronizationService:
    The management agent "Windows Azure Active Directory Connector" step execution completed on run profile "Delta Import Delta Sync" but the watermark was not saved.
    Additional Information
    Discovery Errors : "0"
    Synchronization Errors : "0"
    Metaverse Retry Errors : "0"
    Export Errors : "0"
    Warnings : "0"
    User Action
    View the management agent run history for details.
    Directory Synchronization:
    The Management Agent Windows Azure Active Directory Connector failed on execution. Error returned is 'stopped-extension-dll-exception'. If the problem persists, contact Technical Support.
    Customer have tried to involve Microsoft with them through a third party technical support company but microsoft was not able to apply anything since they have tried to apply some scripts but those scripts would take
    3 days without finishing.
    The first time the Dirsync was applied it took 1 week without finishing until now they were not able to apply a full import and export sync.
    What have really got me interested is that Microsoft did not suggest to the customer to upgrade his FIM (ForeFront Identity Manager)'s old version
    to the latest one. 
    Customer is using Full SQL deployment on a dedicated server and DirSync (FID) on a separate server too. The deployed servers are virtual and have 32
    GB ram and 200 GB HDD size and 4 cores.
    I have recommended to this customer that we do not touch this current deployment since Microsoft themselves couldn't do anything in regard, but what
    we could do is take a virtual snapshot and then apply the upgrade and see if this resolves the issue or not?
    Note:
    Microsoft talked to them about a limited number of synchronized items to their Azure site per week! I am not sure about this but what the customer
    said is that they change approximately about 25,000 user object per day. 
    Could this issue happens because of this limit?
    Thanks

    Besides the large number of objects in the system, which I am not sure DirSync can handle, I suggest you separate the failing step from other steps in the RunProfile.
    So, if you have a step that does Delta Import and Delta Sync, separate into 2 steps;
    Best,
    Nosh
    Nosh Mernacaj, Identity Management Specialist

  • Exchange Admin IP: Office 365 Connectivity

    Hi,
    I'm trying to use the Exchange Admin integration pack to manage Office 365 objects.  I'm having some difficulty setting up the Exchange Admin Connection.  I've setup the following:
    Exchange Server Host: outlook.office365.com
    Port: 443
    PowerShell Application: powershell-liveid
    User Name: [email protected]
    Exchange Environment: Online
    If I run a simple Get Mailbox activity I get the following error:
    Error(s) executing PowerShell command: System.Management.Automation.Remoting.PSRemotingTransportException: Connecting to remote server failed with the following error message : WinRM cannot complete the operation. Verify that the specified computer name
    is valid, that the computer is accessible over the network, and that a firewall exception for the WinRM service is enabled and allows access from this computer. By default, the WinRM firewall exception for public profiles limits access to remote computers
    within the same local subnet. For more information, see the about_Remote_Troubleshooting Help topic..  Inner exception: .  Command info: Command name: New-PSSession.  Parameters: [ConfigurationName:Microsoft.Exchange],[ConnectionUri:https://outlook.office365.com/powershell-liveid],[Credential:System.Management.Automation.PSCredential],[Authentication:Basic],[SessionOption:System.Management.Automation.Remoting.PSSessionOption]..
    Exception: ExchangeGatewayException
    Target site: ExchangeGatewayBase.CheckErrors
    Stack trace:
       at SystemCenter.IntegrationPack.ExchangeAdmin.Gateway.Core.ExchangeGatewayBase.CheckErrors(String commandText, ICollection`1 errors)
       at SystemCenter.IntegrationPack.ExchangeAdmin.Gateway.Core.ExchangeGatewayBase.Execute(ExchangeRequest request)
       at SystemCenter.IntegrationPack.ExchangeAdmin.Gateway.Core.LocalExchangeGateway.CreateRemoteSession(PSObject sessionOptions)
       at SystemCenter.IntegrationPack.ExchangeAdmin.Gateway.Core.LocalExchangeGateway.ImportRemoteSession()
       at SystemCenter.IntegrationPack.ExchangeAdmin.Gateway.Core.LocalExchangeGateway.OpenRunspace()
       at SystemCenter.IntegrationPack.ExchangeAdmin.Domain.ExchangeGatewayFactory.CreateLocal(ExchangeConfiguration configuration, IActivityLogger logger, Boolean importRemoteSession)
       at SystemCenter.IntegrationPack.ExchangeAdmin.Domain.ExchangeGatewayFactory.CreateGateway(ExchangeConfiguration configuration, IActivityLogger logger)
       at SystemCenter.IntegrationPack.ExchangeAdmin.Activity.ExchangeActivity.Execute(IActivityRequest request, IActivityResponse response)
    I've run these commands from this article:
    http://technet.microsoft.com/en-us/library/jj984289(v=exchg.150).aspx
    And can connect successfully using the same credentials used above.
    Has anyone else got this working?
    Thanks,
    Tim

    Hi,
    Take a look,
    http://community.office365.com/en-us/f/156/t/227656.aspx

  • Voicemail not working after moving a user to Office 365

    We moved 30 or so users in December to Office 365 from on prem Exchange 2007.  Before moving we disabled unified messaging.  Once we moved them voicemail worked and we didn't have to do anything further.
    Last week we moved another user and on Exchange online Unified messaging was disabled.  I enabled it but it still isn't working.  I tried disabling and re-enabling but it has not helped.  When dialed it rings and then the call disconnects
    when it should send to voicemail.
    Any ideas what has changed to stop this working now?

    Hi Michael, thanks for the quick reply.  This is what happens when we try for the user with the problem:
    PS C:\> Set-CsUser -Identity "xxxxxxxx" -HostedVoiceMail:1
    Set-CsUser : A hosted voice mail policy with empty destination is assigned to
    a user enabled for hosted voice mail.
    At line:1 char:1
    + Set-CsUser -Identity "xxxxxxxx" -HostedVoiceMail:1
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (CN=xxxx xxxx...xxxx,DC
       =org:OCSADUser) [Set-CsUser], ManagementException
        + FullyQualifiedErrorId : SetCSUser,Microsoft.Rtc.Management.AD.Cmdlets.Se
       tOcsUserCmdlet
    But for a user whose voicemail works (both are setup identically in exchange online):
    PS C:\> Set-CsUser -Identity "yyyyyyyy" -HostedVoiceMail:1
    WARNING: Object with identity "CN=yyyyyy yyyy,OU=PST
    Override,OU=Standard Users,OU=People,DC=xxxxxx,DC=org" was not changed.

  • Unity Express Integration with Office 365

    Hello,
    I have a customer that wants to purchase CME/CUE and they use office 365. Can I have integrated messaging in this scenario, as well as send their voice message as attachement to their inbox, enabling one office inbox for both mail and voice message?
    Thanks
    Nki

    No, you cannot. Neither cue nor cme integrate to office 365
    Sent from Cisco Technical Support iPad App

  • Virtualizing an Office add-in with Office 365 installed - possible?

    I've just attempted to virtualise an Excel add-in by sequencing the add-in and providing a special shortcut to launch Excel in the bubble with the add-ins enabled.
    This normally works fine when Office is locally installed, but in this case my client has deployed the Office 365 click-to-run package, and when Excel is launched it cannot see any of my virtualised files.
    When I run listdlls.exe on Excel.exe, I see:
    C:\Program Files\Microsoft Application Virtualization\Client\Subsystems\AppVEntSubsystems32.dll
    C:\Program Files\Microsoft Office 15\root\office15\AppVIsvSubsystems32.dll
    Since Office 365 is based on App-V technology, I assume these two dlls are conflicting, and my solution going forward is to either get them to put Office down locally or convert it to a full App-V package.
    Before I do this though, does anybody know of any tricks to get it to work with the basic Office 365 package?
    Dan Gough - packageology.com
    Twitter (@packageologist) LinkedIn

    Our story is if you want to combine virtual Office 2013 with virtualized plug-ins, flatten the package into the full App-V format and use Connection Groups.
    Steve Thomas, Senior Consultant, Microsoft
    App-V/MED-V/SCVMM/Server App-V/MDOP/AppCompat
    http://blogs.technet.com/gladiatormsft/
    The App-V Team blog: http://blogs.technet.com/appv/
    The MED-V Team Blog: http://blogs.technet.com/medv
    The SCVMM Team blog: http://blogs.technet.com/scvmm/
    “This posting is provided "AS IS" with no warranties, and confers no rights. User assumes all risks.”

Maybe you are looking for

  • Maintenance Optimizer "local logical system is not defined"

    hello, i would like to create a new maintenance transaction to upgrade from SAP ERP 6.0 to SAP ERP 6.0 Enhanced Package 4 i follow the steps in the "maintenance optimizer configuration guide" BUT when i click to create a new maintenance transaction i

  • I Cal Performance

    My I Cal Widget only shows the date, but not the calendar behind it as it should When I get into I Cal it won't show the dates or month name as I go from the current month (which) is complete to the next. What's wrong?

  • Please explan step by step

    Hi Experts, I have an requirement , i have to fectch the data from SAP tables ( ECC6.0) MARA, MARC and MAKT ( using join) and sent system B ( the user will request by entering MATNR and WERKS through web ) through sap XI as per my understanding i nee

  • XSLT processor help

    Hi , my expected out put is .. <AA>200</AA> <AA>150</AA> <AA>300</AA> <BB>650</BB> <AA>50</AA> <BB>50</BB> my xsl logic: <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > <xsl:output  method="xml" indent="yes" omit-xml-

  • About triggering Idocs and RFC methodology

    Created FM to trigger the IDOCu2019S, to the requesting legacy systems, which has triggered this before by the RFC methodology from above question exactly can u tell what is process going on over there. what is RFC methodology,how can we create RFC f