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

Similar Messages

  • How to add new entry of a sandbox solution to Office 365 standard menu

    Hi,
    I have created a sandbox solution for office 365. I want that web part to be accessed from SharePoint Standard menuitem.
    It should be next to Add an App.How could i do that?

    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction
    Id="----"
    GroupId="SiteActions"
    Location="Microsoft.SharePoint.StandardMenu"
    Sequence="2000"
    Title="====Project"
    Description="Create Project">
    <UrlAction Url="~site/SitePages/=-=-=.aspx"/>
    </CustomAction>
    </Elements>

  • How to redirect to library on button click in sandbox visual web part solution for office 365

    Hi,
    I have created a sandbox solution for Office 365 with one text box and a button. 
    On button click i am creating a library with name from text box. 
    So, what i want is redirect to newly created library as soon it get created on button click.
    how could i do that?
    Thanks

    Got the solution
    <asp:Literal ID="litRedirect" runat="server" />
    string redirectURL =
    listurl;
    litRedirect.Text = "<script type='text/javascript'>window.location = '" +
    redirectURL + "/';</script>";

  • Deploying Farm solution in Office 365

    How to deploy the farm solution in office 365. My application contains user controls. so i need to deploy this in Office 365. I tried with sandboxed application, but sandboxed solution does not support usercontrols. So how to deploy this in Office 365.
    Thanks, Chinnu

    I created a Sandboxed Solution, Added one Visual web part in that solution with one button control. Added Microsoft.Sharepoint.Taxonomy.dll Reference to the solution. Then in the button click event i wrote the following code:
    SPSite site = SPContext.Current.Site;
                var taxonomySession = new TaxonomySession(site);
                var termStore = taxonomySession.DefaultSiteCollectionTermStore;
                lbl1.Text = termStore.ToString();
                var termStoreGroup = termStore.CreateGroup(txtTermSetGroupVal.Text);
                var termSet = termStoreGroup.CreateTermSet(txtTermSetCatNameVal.Text);
                termSet.CreateTerm("AAA", CultureInfo.CurrentCulture.LCID);
                termSet.CreateTerm("BBB", CultureInfo.CurrentCulture.LCID);
                termStore.CommitAll();
    Then, I deployed this solution in one Publishing site. Added one new page in that site and Inserted this visual webpart in that page. When i click that button, I got the
    following error,
    Web Part Error: Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the partial trust app domain: An unexpected error has occurred. Correlation ID: 49c1759c-5913-70a8-76e3-b2827260601a.[SPUserCodeSolutionExecutionFailedException:
    Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the partial trust app domain: An unexpected error has occurred.]
    Please suggest any solution for my scenario.

  • Migrate from Google Apps to Office 365 with admin credentials only

    Hi team,
     We are migrating from Google Apps to Office 365. I know the normal procedure of migrating, but I want to know how to migrate from gmail to office 365 with administrator credentials. Normally for migration, we use user's mail ID and password in CSV file.
    But I don't want to use users credentials, instead I want to use only Administrator credentials. 
    Thanks in Advance...

    A third party tool such as MigrationWiz can accomplish this task.  More information on how to set up administrative access can be found here:
    https://community.bittitan.com/kb/Pages/GoogleApps%20to%20Office365%20Migration%20Guide.aspx

  • 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. 
    ¯\_(ツ)_/¯

  • Migrate exchange 2003 to office 365 with single singon

    Dear All,
    We are going to migrate our mail systems from exchange server 2003 to office 365 with single sing-on.
    Please advice me the best way and guide line (information) to do it smoothly.
    Thanks in advance.

    Dear Andres parnova,
    Thanks for your information.
    I found series of articles in msexchange.org
    http://www.msexchange.org/articles-tutorials/office-365/exchange-online/performing-staged-exchange-migration-office-365-exchange-online-part1.html which has very nice and clear information.
    But, in the articles the author did not include ADFS configuration and steps.
    I would like to know how to configure ADFS and single sing-on.
    Thanks
    Min

  • Cannot open document because Office keeps trying to sign in to Office 365 with the wrong account

    Problem: I cannot open Office documents from SharePoint on Office 365 because Office tries to sign in with my Microsoft account instead of my Office 365-account.
    History
    When we started the project, I did not have an Office 365-account yet for the organization I was working for. To get temporary access to SharePoint a colleague invited me on my Microsoft Account to gain access to SharePoint. This worked fine and I
    was able to access SharePoint. A few days later I received my official Office 365 account, so I also got e-mail etc. Because I now have an official Office 365 account, we removed my Microsoft Account from SharePoint. So now I only have access to SharePoint
    with my Office 365 account.
    The problem is that I can no longer open documents in Office. In the web version everything works fine, but if I want to open a document in for example Word, it says the document cannot be opened. Sometimes it shows a screen which says "Something
    went wrong". If I click through to go back to the website, it show me that it tried to login with my Microsoft Account and that this account does not have access to the site. It suggests to sign out and login with a different account, but this leads to
    a page that does not exist. I cannot figure out how to make Word use my Office 365 account.
    What I have already tried
    -Remove all my browser history and temporary files
    -Add Office 365 as a connected service in Office. I can sign-in with my Office 365 account and the location is added, but I still cannot open documents.
    -Tried a different pc. But because Office syncs al my settings, I got the same problem on all my pc’s.
    -Removed all my Windows credentials via the credential manager in the control panel. If I also remove the credentials for my Microsoft Account, Office cannot sign in anymore. At this point, if I try to access SharePoint, it asks me for my credentials
    and I have access to the documents. However, if I restore my Microsoft Account in Office again by entering my password, the problem is back.
    -As a work around I can add my Office 365 account as a separate Office account. I have access then, but it is really annoying because every time I want to open a document, I have to open Word, switch accounts, close Word and open the document. It is
    not capable of automatically selecting the account to use.
    Conclusion and question
    I have also worked with other Office 365 organizations which I can easily add to the connected services in Office and they work fine. So somehow Office has linked my Microsoft Account to this organization of Office 365 and it refuses to use the correct
    account. Does anybody know how to unlink my Microsoft Account from this Office 365 organization so that I can use the correct account?

    Try these steps from the source linked below:
    Stop connecting to a connected account
    You can stop connecting to a connected email account in Outlook Web App by removing the connection.
    In Outlook Web App, click Settings >
    Options > Account > Connected accounts.
    Under Account Name, select the account you want to stop connecting to.
    Click Delete to remove the connection.
    Click Yes in the dialog box to confirm that you want to stop connecting to the account.
    http://office.microsoft.com/en-us/support/connected-accounts-HA102836325.aspx

  • Free office 365 with purchase

    Hello i recently purchased a ipad air at your brandon fl location but i was not made aware of the free office 365 promotion you had so never received my copy is there anything i can do now to get it? the purchase was made march 23rd 2015. If i need to go back to the store i can but its about a 40 min drive from me so if i can do something to get it sorted on here would be very helpful. 
    christopher

    Hello Christopher-
    Congratulations on your new iPad Air purchase.  I’m sorry to hear that you may have missed out on the Microsoft Office 365 promotion at the time you made your purchase.
    In digging deeper into this promotion, it looks like it was started on March 19th and runs through April 4th, so your purchase on March 23rd would not have qualified for the promotion.  Per the terms of the offer found here, previous purchases are excluded from this offer.  I can only recommend speaking with your local store to see if they have any options to provide before the promotion ends at close on April 4th.
    I apologize for any inconvenience that this may cause you.
    Bill|Senior Social Media Specialist | Best Buy® Corporate
     Private Message

  • Login ID best practice. Windows 8, Office 365 with SkyDrive and SkyDrive PRO

    I have had many confusing issues with multiple and conflicting ID's. I have just spent 3 hours online with MS technical support to discover that a document can be edited in Word and saved to Sharepoint365 but if it is synched with the
    desktop and that one is edited then the local signon sets the wrong permissions and the upload centre fails. 
    I have two MSOL Office/365 accounts, both Enterprise level with SkyDrive Pro.
    I have two Live accounts, both with SkyDrive.
    I am using Windows 8 so need to signon with a live ID or local and non-linked account.
    Assuming I configured;
    1. W8 user account with Live ID AAA and only used MSOL/365 Account BBB in a session. 
    2. W8 user account with Live ID ZZZ and only used MSOL/365 Account XXX in a session.
    Would that be okay?
    1. Should I be able  to access AAA Skydrive and BBB SkyDrive Pro in the same session?
    2. If I synch SharePoint folders from a BBB session should I be able to edit them directly in word, with user account BBB active and be able to save okay?
    Cheers, Richard
    RC

    In Windows Live you could create alias account which means you have one Windows Live Account but login with multiple email. You create one account and then link Office365 account as alias to it. You could have one Windows 8 account and different Office365
    account too.
    You could also configure your Office365 account to use your Windows Live Id and login with that account.

  • Need to create new users in Office 365 with custom attributes from a csv file

    I am exporting users from an active directory environment and then deleting them from AD. They are Alumni and will no longer be in AD.
    I have a csv file with the following fields that I need to use to create new Alumni email boxes in Office 365 for. I need the CustomAttributes because my Dynamic Distribution Groups use them. I am fairly new to PowerShell and have been unable to get this
    to work. I suspect I may have to split it into two parts, but am not sure how to proceed. Any assistance would be appreciated. I was directed here from the Office 365 community.
    Import-Csv -Path c:\CSVfiles\CreateAlumni.csv | ForEach-Object {
       New-MsolUser -FirstName $_.FirstName -LastName $_.LastName
       -UserPrincipalName $_.UserPrincipalName
       -DisplayName "$($_.FirstName) $($_.LastName)"
       -Password $_.Password
       -CustomAttribute1 $_.CustomAttribute1
       -CustomAttribute3 $_.CustomAttribute3
       -CustomAttribute10 $_.CustomAttribute10
       -CustomAttribute11 $_.CustomAttribute11
       -CustomAttribute12 $_.CustomAttribute12
       -LicenseAssignment 'domaincom:EXCHANGESTANDARD_ALUMNI'
       -UsageLocation US

    Ok, it wasn't stopping after 2 iterations. What I was seeing was 2 failures. The first was the Get-Mailbox command and the second was when it tried to assign attributes. For some reason it is not looping when it fails. It just goes on and tries to assign
    the Custom Attributes. I added writes in to tell me what was happening.
    ### Check if mailbox is provisioned yet
    Write-Host "Checking if mailbox is provisioned yet..." -foregroundcolor yellow
    $found = $false
    $count = 0
    Do {
    try {
    Get-Mailbox -Identity $_.UserName -ErrorAction Stop
    $found = $true
    Write-Output 'Mailbox found. Details:'
    Get-Mailbox -Identity $_.UserName
    } catch {
    Write-Output 'Sleeping'
    $count++
    Start-Sleep -Seconds 5
    If ($count -ge 12) {
    Write-Output 'Mailbox not found. Quitting.'
    $found = $true
    } Until ($found)
    Write-Host "Adding Custom Attributes to User" -foregroundcolor yellow
    Set-Mailbox -Identity $_.UserName -CustomAttribute1 $_.CustomAttribute1 -CustomAttribute3 $_.CustomAttribute3 -CustomAttribute10 $_.CustomAttribute10 -CustomAttribute11 $_.CustomAttribute11 -CustomAttribute12 $_.CustomAttribute12
    Write-Output "User has been Provisioned in Office 365!" -foregroundcolor yellow
    Checking if mailbox is provisioned yet...
    The operation couldn't be performed because object 'Joe.Cool2003' couldn't be found on 'CO1PR07A002DC01.NAMPR07A002.prod.outlook.com'.
        + CategoryInfo         
    : NotSpecified: (:) [Get-Mailbox], ManagementObjectNotFoundException
        + FullyQualifiedErrorId : [Server=CO1PR07MB125,RequestId=e1aabda1-01e4-4f68-984e-e20be0975242,TimeStamp=5/22/2014 4:23:59 AM] [FailureCategory=Cmdlet-ManagementObj
       ectNotFoundException] 2788FB48,Microsoft.Exchange.Management.RecipientTasks.GetMailbox
        + PSComputerName        : pod51038psh.outlook.com
    Mailbox found. Details:
    The operation couldn't be performed because object 'Joe.Cool2003' couldn't be found on 'CO1PR07A002DC01.NAMPR07A002.prod.outlook.com'.
        + CategoryInfo         
    : NotSpecified: (:) [Get-Mailbox], ManagementObjectNotFoundException
        + FullyQualifiedErrorId : [Server=CO1PR07MB125,RequestId=16a8a2bc-333a-455c-8504-e0b99c44c334,TimeStamp=5/22/2014 4:24:00 AM] [FailureCategory=Cmdlet-ManagementObj
       ectNotFoundException] 2788FB48,Microsoft.Exchange.Management.RecipientTasks.GetMailbox
        + PSComputerName       
    : pod51038psh.outlook.com
    Adding Custom Attributes to User
    The operation couldn't be performed because object 'Joe.Cool2003' couldn't be found on 'CO1PR07A002DC01.NAMPR07A002.prod.outlook.com'.
        + CategoryInfo         
    : NotSpecified: (:) [Set-Mailbox], ManagementObjectNotFoundException
        + FullyQualifiedErrorId : [Server=CO1PR07MB125,RequestId=8319d220-b9dd-492f-8182-5083cf56e58b,TimeStamp=5/22/2014 4:24:00 AM] [FailureCategory=Cmdlet-ManagementObj
       ectNotFoundException] C7844A24,Microsoft.Exchange.Management.RecipientTasks.SetMailbox
        + PSComputerName       
    : pod51038psh.outlook.com
    User has been Provisioned in Office 365!
    Of course the user has been provisioned, but the CustomAttributes have not been assigned. :(

  • Office 365 with Office 2013 MSI Language Pack on Windows 7 machine.

    Hello All,
    I have Office 2013 MSI Language Pack installed on Windows 7 machine. After deploying Office 365 using ODT, Lync is crashing.
    Is Office 2013 MSI Language Pack compatible with Office 365?
    Thanks in Advance !!

    Hi,
    Have you checked the log file? Does it record the error details there?
    So you only have the language pack on your computer, not the entire Office 2013 instance? Office 2013 MSI Language Pack doesn't work with Office 365. Try to remove the language pack then try again.
    Also, to plan a multi-language deployment of Click-to-Run-based Office installations, please refer to this article:
    http://technet.microsoft.com/en-us/library/dn186220(v=office.15).aspx 
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Looking for SharePoint Project Management Solution for Office 365 - Risk,Issues,budget

    Hi All,
         I'm looking for a Project Management solution plugin like PM Central below for office 365 cloud
    http://store.bamboosolutions.com/BambooMainWeb/pmc-tryit.aspx
    Looking to get more resources and links
    Thanks in advance

    Hi  Patrick,
    There are many project management apps for SharePoint Online. Such as  Project Management, EPM Pulse for Project Online  and so on.
    Here is the office store URL , you can choose an appropriate app  and add it into your SharePoint Online:
    http://office.microsoft.com/en-us/store/results.aspx?qu=project&avg=osu150&vtags=Project%20Management
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Office 365 with mail id in another host

    I have purchased office 365 license and hosted my site in Go dady. Is it possible to link my email to office 365 from go dady?
    Elvin Sam Harris

    Hi Elvin,
    This is the forum to discuss questions and feedback for Microsoft Office client. There is not so much about Office 365 admin/hosted aspects here, I would suggest you to post in the forum of
    Office 365 Community, where you can get more experienced responses:
    http://community.office365.com/en-us/f/default.aspx
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Office 365 with mailboxes and dirsync without Exchange on-premises

    I currently have Active Directory deployed on premises without Exchange. I am migrating my e-mail to Office 365 from a third-party service and want to use dirsync + password sync so my users can use the on premises credentials and Office
    365.
    Since I do not have Exchange installed on premises (and therefore do not have the Exchange on premises management tools), how do I manage the mailboxes for the synchronized users? I know I cannot change e-mail related attributes, such as e-mail addresses,
    directly in Office 365 for synchronized users.
    Thanks!

    If you are going to use dirsync, the local AD will be the source of authority, so only a very limited subset of attributes can be edited directly in the cloud (either via the EAC or EO PowerShell). It's a very good idea to extend the AD with the Exchange
    attributes, as you will definitely need to manage some of those. For more info you can review for example this article:
    http://technet.microsoft.com/en-us/library/hh852478.aspx
    After you have installed Exchange and thus extended the schema, you can safely remove the Exchange server right away. All the needed attributes will be available via dsa.exe, or AD module for PowerShell.
    I would also recommend creating distribution groups directly in the cloud, because even with the extended schema, you will run into some management issues. You can read more about it here:
    http://support.microsoft.com/kb/2417592

Maybe you are looking for