How can i deploy sandboxed solution .wsp file to sharepoint 2013 online using powershell script?

Is there any way to deploy the Sandbox solution .wsp file to sharepoint 2013 online publishing site using powershell or CSOM or any other way?

Hi,
According to your post, my understanding is that you wanted to deploy sandboxed solution .wsp file to sharepoint 2013 online.
"Add-SPSolution" command is not available in SharePoint Online management shell. So, we cannot use PowerShell to update and deploy a solution in SharePoint Online environment. Meanwhile, here is index of Windows PowerShell for SharePoint Online
cmdlets for your reference:
http://technet.microsoft.com/en-us/library/fp161364.aspx
You can CSOM to deploy solution using helper class from CodePlex. The activation code is as follows: SandboxSolutions.ActivateSolution(siteCollectionURl, cookies, "solution_name.wsp");
About the Client Side Object Model (CSOM), it is a development related issue, we have a specific support channel for the SharePoint developers, so I recommend you go to our MSDN forum for further assistance.
Here is a similar thread for you to take a look at:
http://community.office365.com/en-us/forums/156/t/197404.aspx
In addition, if you would like to upload and activate sandbox solution manually, you can refer to:
http://community.office365.com/en-us/forums/154/p/64010/244496.aspx#244496
Best Regards,
Linda Li
Linda Li
TechNet Community Support

Similar Messages

  • How can i find total no of files in a directory ..using fileconnection

    how can i find total no of files in a directory.
    currently iam using
    Enumeration enum = fileconn.list(); and by iterating iam getting count.
    but the application is getting stuckup when the number of files in the directory is large.
    Is there any alternative. please help.
    thanks in advance.

    HI,
    this is a simple example with a cursor over user_tables view:
    set serveroutput on
    DECLARE
       CURSOR c_test IS
          SELECT table_name FROM user_tables;
       type t_reg is table of varchar2(30);
       l_reg t_reg;
    BEGIN
       OPEN c_test;
       fetch c_test bulk collect into l_reg;
       dbms_output.put_line(c_test%ROWCOUNT);
    END;
    /Output:
    SQL>
    SQL> set serveroutput on
    SQL> DECLARE
      2     CURSOR c_test IS
      3        SELECT table_name FROM user_tables;
      4     type t_reg is table of varchar2(30);
      5     l_reg t_reg;
      6  BEGIN
      7     OPEN c_test;
      8 
      9     fetch c_test bulk collect into l_reg;
    10 
    11     dbms_output.put_line(c_test%ROWCOUNT);
    12  END;
    13  /
    42
    PL/SQL procedure successfully completed
    SQL> Regards,
    Edited by: Walter Fernández on Nov 29, 2008 8:59 AM - Adding output...

  • Data refresh of Excel file on Sharepoint 2013 Online (E3)

    Is it possible to refresh data in an Excel PowerPivot model from external data (SQL Server 2012) on the
    SharePoint 2013 Online solution that comes with the Office365 E3 plan?
    I need to either have the Excel file itself on the public facing website with data refresh there, or possibly have the Excel file in a private Business Intelligence Center subsite and then publish webparts or whatever on the public site, as long as the charts
    are refreshed and publicly viewable. I've found a lot of conflicting info on this.
    Re
    D

    Currently, when a workbook that contains a Data Model is published to a library in Office 365, data refresh is unavailable.
    However, you can use a PowerShell script to configure a workaround.
    donwload this white paper for workaround:
    http://technet.microsoft.com/en-us/library/jj992650.aspx
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • How can I find what scom group a specific server belongs to using powershell?

    Environment:  SCOM 2007 r2
    Server in question:  Running Windows 2003 Std. (yes I know this sounds crazy)
    Why do I need this:  I noticed at the console level we have had server unexpected shutdown events which are not generating email notifications. 
    Source shows: Windows 2003 Server Standard Edition
    Alert Rule:  Windows Shutdown Unexpectedly
    From what I see these are all windows 2003 server Std edition systems.  I did a track and trace using our exchange tracking system which confirmed the alerts were not being emailed. Not sure if there is a better approach for this, but not being a sql
    expert (however I do have someone I can leverage) I am trying to see if I can somehow extract this information using powershell.
    Secondary general question:  How can I find out the current size of our scom 2007 database and the number of objkects\servers being monitored? This is prep work for a migration over to 2012.
    Thanks in advance for the help!

    1. what scom group a specific server belongs to
    function Get-GroupNames {
     [cmdletbinding()]
     param($computerFQDN)
     $containmentRel = Get-RelationshipClass -name:’Microsoft.SystemCenter.InstanceGroupContainsEntities’
    $computerClass = Get-MonitoringClass -name:”Microsoft.Windows.Computer”
    $criteria = [string]::Format(“PrincipalName = ‘{0}’”,$computerFQDN)
     try {
     $computer = Get-MonitoringObject -monitoringClass:$computerClass -criteria:$criteria
     $relatedObjects = $computer.GetMonitoringRelationshipObjectsWhereTarget($containmentRel,[Microsoft.EnterpriseManagement.Configuration.DerivedClassTraversalDepth]::Recursive,[Microsoft.EnterpriseManagement.Common.TraversalDepth]::Recursive)
     catch {
     $_
     write-host “An error occurred while querying groups of $computerFQDN”
    foreach($group in $relatedObjects)
     [array]$Groups = $groups + $group.SourceMonitoringObject.DisplayName
     if($groups) {
     return $groups
     } else {
     write-host “No groups available for $computerFQDN”
    Usage:
     Get-GroupName -ComputerFQDN myserver1
    for detail, pls. refer to
    http://techibee.com/powershell/powershell-get-scom-groups-of-a-computer-account/1129
    Roger

  • Can't open MS Word .doc files from SharePoint 2013 document library?

    Hello,
    I have uploaded some MS Word files with .doc extension into a SharePoint 2013 document library, but they don't open when clicked.  I can do a number of things to the file, like view and edit properties, download and other things, but it does not
    open up when mouse clicked.  There are PDF files in the document library and they open up just fine.  Any ideas?
    I should add that MS Word 2010 .docx files can not be opened either.
    Thanks.
    Paul

    Hi,
    Whether you use office 2013.
    Considering this .doc file can be smoothly opened in Office if you downloaded it to your local, it indicates that the Word document and Microsoft Word doesn’t have any problems. The issue may be caused by the compatibility between Office
    and your site.
    1.Check whether you have the SharePoint OpenDocuments Class add on enabled at first.
    Internet Explorer >Tools iron > Manage add-ons >
    Choose to Show All add-ons. Find SharePoint OpenDocuments Class and make sure it’s enabled.
    2.go to Compatibility view settings > add your SharePoint site to compatibility view
    3.go to Internet Options,
    Advanced > Reset… > Check Delete personal settings and reset
    Security > Trusted sites > sites > add SharePoint sites to trusted sites
    4.If it doesn’t work, please open Word, go to Options > Trust Center > Trust Center Settings > Protected View > Uncheck all.
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • How do I import Outlook Express message files into Outlook 2013 without using LiveMail

    I bought a new Windows 7 computer and have copied the Outlook Express .dbx files from the old XP computer onto the new one. Outlook 2013 's import facility does not have a .dbx option.  I  do not want to use Windows Live for anything. How do
    I import my Outlook Express mail files into Outlook 2013 ?

    Hi,
    It isn't only to Outlook 2013, other versions of Outlook cannot access the .dbx files directly.
    In the situation, Windows Live Mail is needed to transfer the mail data to Outlook.
    Best regards,
    Rex Zhang
    TechNet Community Support

  • How can I convert an outlook pst file to mac mail without using a windows based computer

    I recently bought the new iMac as my older Windows based computer crashed with a bad motherboard.  I have been trying to find a way to convert Outlook 2007 pst files to Mac Mail without the need to use a Windows based computer since all I have now is a Mac.  I have the copies of the pst files on my Mac, so I am looking for the most efficient way to convert them to the format that I can then open them in the Mac Mail.  Any suggestions would be greatly appreciated.

    Hi - thanks for the instructions but where do you get the option for Quicktime. If I do File - Export I only get the options for File name, place and size but no option that allows to select quicktime:-(
    Have you got any more tips?

  • How can I transfer my old music files to my new iPod using a different computer from that used on the old iPod?

    I got a brand new iPod and wanted to put the music files on my old iPod to the new one. In addition to this I would like to know how to sync my new iPod to a different computer from that of the old one. Is it possible for me to accomplish all this with music rescue?

    Put everything on one computer and sync to that computer.

  • How do I split a Large CSV file into Multiple CSV's Using Powershell

    I am a novice at powershell but this looks to be the best tool to do this task. have a csv file that looks like this:
    Date,Policy,Application
    10/13/2014,No,None
    10/13/2014,No,None
    10/13/2014,No,None
    10/13/2014,No,None
    10/13/2014,No,None
    11/14/2013,Yes,AppBiz
    11/14/2013,Yes,AppBiz
    11/14/2013,Yes,AppBiz
    07/04/2013,No,PeopleBiz
    07/04/2013,No,PeopleBiz
    07/04/2013,No,PeopleBiz
    07/04/2013,No,PeopleBiz
    Is it possible to split this CSV into multiple CSV's based on "Application".
    Lets say the output might look like:
    None.csv
    10/13/2014,No,None
    10/13/2014,No,None
    10/13/2014,No,None
    10/13/2014,No,None
    10/13/2014,No,None
    AppBiz.csv
    11/14/2013,Yes,AppBiz
    11/14/2013,Yes,AppBiz
    11/14/2013,Yes,AppBiz
    PeopleBiz.csv
    07/04/2013,No,PeopleBiz
    07/04/2013,No,PeopleBiz
    07/04/2013,No,PeopleBiz
    07/04/2013,No,PeopleBiz
    Any help would be greatly appreciated

    I think this might be what you want:
    Import-Csv applications.csv |
    Group Application |
    foreach {
    $_.Group | Export-Csv "$($_.Name).csv" -NoTypeInformation
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
    Very nice! 4x faster..
    I doubt the OP will get what you just did there..
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
    Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

  • How can i do a like kind CAML queries - SharePoint 2013

    I have a text e.g AOCup and i need it to match AO Cup
    Where currentsite variable below  is = AOCup but what im querying is AO Cup 
    Thanks in Advance
    I laso used Contain with no luck
       <Query><Where><BeginsWith><FieldRef Name='Title'/><Value Type='Text'>" + currentSite + "</Value></BeginsWith></Where></Query>   

    Try like this
    <Where><BeginsWith><FieldRef Name='Title'/><Value Type='Text'>" +
    TextBox1.Text +"</Value></BeginsWith></Where>
    Use the Caml builder to generate the query.
    check this
    http://sharepoint.stackexchange.com/questions/53204/caml-query-not-filtering-results

  • How can i deploy macbooks and 802.1x authentication using PEAP/MSChap version 2

    How can i deploy macbooks and 802.1x authentication for wireless connectivity using PEAP/MSChap version 2. The Cert is generated by a 2008 Windows CA authority. I am trying to get to join but the MAC doesnt seem to want to accecpt the cert. Can i not validate the cert and still have it join the 802.1x wireless netqwotk? The wireless netwotk is using a Cisco 5508 wireless controller and Cisco 1142 access points. All works fine with Windows devices.

    Hi Tarik,
    Thanks for your answers,
    I've attached my configured AuthZ rules and AuthZ profile for provisioning,
    I want the process to be the same for iPhone, Android and Windows.
    1) Connect to the SSID
    2) Login using your AD credentials PEAP-MS-CHAP-v2
    3) Redirect to device registration portal (So I can set a limit of 3 devices per employee)
    4) As soon as the client click "register" no more redirects and PERMIT-ALL
    I think that I don't need to rely on profiling because In terms of AuthZ policies it should be something like this:
    1) if WIRELESS802.1x and PEAP-MS-CHAPV2 and BYODREGISTRATION=!YES(Unknown or not reg) then "Redirect to device registration(that is NSP right?)"
    2) if WIRELESS802.1x and PEAP-MS-CHAPV2 then PERMIT-ALL(no redirection)
    3) everything else = DENY-ALL
    But the NSP looks for Client Provisioning policies, so if I don't configure any policy it should Allow Network Access(See attachment photo3.png) but as I said on the post it shows that cannot retrieve the MAC-Address so the client can't register his device and don't have access to the network. (To grant access I've configured provisioning policies, that way the clients can register their devices but they are redirected to google play or are forced to install the profile at iOS and this is what I don't want because it is not necessary)
    What screenshoot do you need after the registration? the Auth report?
    Thank you very much for your time!

  • HT4910 How can I backup my Quicken Essentials files to the Cloud?

    How can I backup my Quicken Essential files to the Cloud?

    Use the camera icon in the header for your post to insert the picture.
    My other question?
    What is the file's extension (in the folder on your Mac?)
    Is it a .dmg?

  • Hi, how can i download ios 7 ipsw file?

    hi, how can i download ios 7 ipsw file?

    If you are using a Windows iTunes machine, did you delete the file, it should still be in: C:\Users\xx\AppData\Roaming\Apple Computer\iTunes\iPod Software Updates

  • How can I view my 6D raw files before I open them in post processing?

    How can I view my 6D raw files after I load them on my computer & before I open them on a post processing Program?
    I have no problem doing that with my 1DX,1DIV or 5Dmk III. This problem exist with any sdhc card I use on the 6D, but not on any other camera with the same cards.
    Solved!
    Go to Solution.

    Your computer doesn't have camera RAW support installed for a 6D.  RAW isn't really a standard-format... it's more of a concept.  Every individual camera has it's own unique RAW format (even though they all have the same .CR2 extension).
    Each time a new camera comes out, companies that make RAW processing software will make an update available that adds that camera.  You'll need to get that update and install it.
    Tim Campbell
    5D II, 5D III, 60Da

  • How can i scan to a pdf file using hp officejet 4500 scan feature

    how can i scan to a pdf file using hp officejet 4500 scan feature.  only give a jpg or bit extension

    pf1tarac wrote: how can i scan to a pdf file using hp officejet 4500 scan feature.  only give a jpg or bit extension
    Hello pf1tarac, I don't believe that is possible. In order to create a PDF file, you would need Adobe Acrobat or some other PDF compatible product to save a scan to the PDF format.
    There are some free PDF programs available.  Here  is a link to one of them.
    Please click the White Kudos star on the left, to say thanks.
    Please mark Accept As Solution if it solves your problem.

Maybe you are looking for

  • My ipod is constantly crashing on apps

    Ipod Touch 4G 8GB IOS 6.1.3 Am i the only one with this problem ??? Its making me go crazy ! Its crashes from time to time in any app and is MAD SLOW on the appstore. Its been like this since i upgraded to ios 6.1.3. Im justing getting real tired off

  • Using Webutil(CLIENT_GET_FILE_NAME) without result

    Hi all, I used Webutil(CLIENT_GET_FILE_NAME function) in developement platform(IDS) on WINDOWS and it worked fine.Now i'm migatring on IAS/LINUX, the same feature don't produce any result and any error occurs.Here's messages i receive in Jinitiator c

  • How can I dynamicall​y read a file and show/plot the data in the GUI?

    Hi, everyone, I hope to implement a VI with the following function: Usually, when we "read a file" in VI and then show the data in the Waveform Chart or other display GUI, the VI will first read and record all of the data from the file and then show

  • Green vertical lines on macbook pro 15-inch display

    A single green vertical line has appeared on the display after opening lid from sleep. Is there a firmware update for 15-in MacBook Pros?  I see one out there for 17-inch models.

  • Font changes when printing from CVI OI

    TestStand 3.1f1 CVI 7.0 We generate text reports and like to have them displayed and printed using a fixed width font (the default in TestStand).  From the sequence editor, selecting the print button from the report tab of a completed execution yield