<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cannot create subfolder with $Proxy.CreateFolder in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Cannot-create-subfolder-with-Proxy-CreateFolder/m-p/338251#M3387</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="31487" data-lia-user-login="mgmeyer" class="lia-mention lia-mention-user"&gt;mgmeyer&lt;/a&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="8826" data-lia-user-login="jtarquino" class="lia-mention lia-mention-user"&gt;jtarquino&lt;/a&gt;&amp;nbsp;Do you have ideas about this issue? I don't have much knowledge about developer section.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Qiuyun Yu&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jan 2018 08:35:10 GMT</pubDate>
    <dc:creator>v-qiuyu-msft</dc:creator>
    <dc:date>2018-01-15T08:35:10Z</dc:date>
    <item>
      <title>Cannot create subfolder with $Proxy.CreateFolder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Cannot-create-subfolder-with-Proxy-CreateFolder/m-p/335891#M3320</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on automatization of some administrative tasks like creating folders for users that want to have their own space on premise server and specifying appropriate permissions on the folder. Using PowerShell scripts&amp;nbsp;&lt;STRONG&gt;$Proxy.CreateFolder($FolderName, $RsFolder, $null) | Out-Null&lt;/STRONG&gt;.&lt;BR /&gt;This script works only if I am creating folders on the root of the server (&lt;SPAN&gt;&lt;STRONG&gt;$RsFolder = '/'&lt;/STRONG&gt;)&amp;nbsp;&lt;BR /&gt;If I want to create a folder as a sub folder of another folder this script does not work.&amp;nbsp;(&lt;STRONG&gt;$RsFolder = '/USERS/' $FolderName='John'&lt;/STRONG&gt;). USERS folder exists on the root of the server.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;I am getting following error:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Exception occurred while creating folder! Exception calling "CreateFolder" with "3" argument(s):&lt;BR /&gt;"System.Web.Services.Protocols.SoapException: The path of the item '/USERS/' is not valid. The full path must be less than&lt;BR /&gt;260 characters long; other restrictions apply. If the report server is in native mode, the path must start with slash. ---&amp;gt;&lt;BR /&gt;Microsoft.ReportingServices.Diagnostics.Utilities.InvalidItemPathException: The path of the item '/USERS/' is not valid.&lt;BR /&gt;The full path must be less than 260 characters long; other restrictions apply. If the report server is in native mode, the&lt;BR /&gt;path must start with slash.&lt;BR /&gt;at Microsoft.ReportingServices.Library.ReportingService2010Impl.CreateFolder(String Folder, String Parent, Property[]&lt;BR /&gt;Properties, CatalogItem&amp;amp; ItemInfo)&lt;BR /&gt;at Microsoft.ReportingServices.WebServer.ReportingService2010.CreateFolder(String Folder, String Parent, Property[]&lt;BR /&gt;Properties, CatalogItem&amp;amp; ItemInfo)"&lt;BR /&gt;At C:\PowerBI\Tools\ReportingServicesTools-master\ReportingServicesTools\Functions\CatalogItems\New-RsFolder.ps1:88 char:13&lt;BR /&gt;+ throw (New-Object System.Exception("Exception occurred while creatin ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : OperationStopped: (:) [], Exception&lt;BR /&gt;+ FullyQualifiedErrorId : Exception occurred while creating folder! Exception calling "CreateFolder" with "3" argument(&lt;BR /&gt;s): "System.Web.Services.Protocols.SoapException: The path of the item '/USERS/' is not valid. The full path must be le&lt;BR /&gt;ss than 260 characters long; other restrictions apply. If the report server is in native mode, the path must start with&lt;BR /&gt;slash. ---&amp;gt; Microsoft.ReportingServices.Diagnostics.Utilities.InvalidItemPathException: The path of the item '/USERS/'&lt;BR /&gt;is not valid. The full path must be less than 260 characters long; other restrictions apply. If the report server is i&lt;BR /&gt;n native mode, the path must start with slash.&lt;BR /&gt;at Microsoft.ReportingServices.Library.ReportingService2010Impl.CreateFolder(String Folder, String Parent, Property[&lt;BR /&gt;] Properties, CatalogItem&amp;amp; ItemInfo)&lt;BR /&gt;at Microsoft.ReportingServices.WebServer.ReportingService2010.CreateFolder(String Folder, String Parent, Property[]&lt;BR /&gt;Properties, CatalogItem&amp;amp; ItemInfo)"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any idea why?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks in&amp;nbsp; advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Dejan&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 07:11:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Cannot-create-subfolder-with-Proxy-CreateFolder/m-p/335891#M3320</guid>
      <dc:creator>destank</dc:creator>
      <dc:date>2018-01-11T07:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create subfolder with $Proxy.CreateFolder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Cannot-create-subfolder-with-Proxy-CreateFolder/m-p/338251#M3387</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="31487" data-lia-user-login="mgmeyer" class="lia-mention lia-mention-user"&gt;mgmeyer&lt;/a&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="8826" data-lia-user-login="jtarquino" class="lia-mention lia-mention-user"&gt;jtarquino&lt;/a&gt;&amp;nbsp;Do you have ideas about this issue? I don't have much knowledge about developer section.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Qiuyun Yu&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 08:35:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Cannot-create-subfolder-with-Proxy-CreateFolder/m-p/338251#M3387</guid>
      <dc:creator>v-qiuyu-msft</dc:creator>
      <dc:date>2018-01-15T08:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create subfolder with $Proxy.CreateFolder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Cannot-create-subfolder-with-Proxy-CreateFolder/m-p/339356#M3416</link>
      <description>&lt;P&gt;Are you using /users for the Path parameter (without the slash at the end)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a unit tests that validates that scenario , you can use it as a example (check the test&amp;nbsp;&lt;SPAN&gt;Context &lt;/SPAN&gt;&lt;SPAN class="pl-s"&gt;"Create a subfolder")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Microsoft/ReportingServicesTools/blob/master/Tests/CatalogItems/New-RsFolder.Tests.ps1" target="_blank"&gt;https://github.com/Microsoft/ReportingServicesTools/blob/master/Tests/CatalogItems/New-RsFolder.Tests.ps1&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2018 15:45:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Cannot-create-subfolder-with-Proxy-CreateFolder/m-p/339356#M3416</guid>
      <dc:creator>jtarquino</dc:creator>
      <dc:date>2018-01-16T15:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create subfolder with $Proxy.CreateFolder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Cannot-create-subfolder-with-Proxy-CreateFolder/m-p/339953#M3427</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;SPAN class=""&gt;&lt;A title="" href="http://community.powerbi.com/t5/user/viewprofilepage/user-id/8826" target="_self"&gt;jtarquino&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;i was assigning '/' programaticaly to the end of the path in my code - that was the reason it didn't work for me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Dejan&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 11:28:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Cannot-create-subfolder-with-Proxy-CreateFolder/m-p/339953#M3427</guid>
      <dc:creator>destank</dc:creator>
      <dc:date>2018-01-17T11:28:59Z</dc:date>
    </item>
  </channel>
</rss>

