<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Maxali - Medium]]></title>
        <description><![CDATA[trying my best to share | learn - Medium]]></description>
        <link>https://medium.com/maxali?source=rss----847b49990e73---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Maxali - Medium</title>
            <link>https://medium.com/maxali?source=rss----847b49990e73---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 05:08:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/maxali" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Using AppPassword with PnP PowerShell]]></title>
            <link>https://medium.com/maxali/using-apppassword-with-pnp-powershell-955e4dc20553?source=rss----847b49990e73---4</link>
            <guid isPermaLink="false">https://medium.com/p/955e4dc20553</guid>
            <category><![CDATA[pnp]]></category>
            <category><![CDATA[office-365]]></category>
            <category><![CDATA[sharepoint]]></category>
            <dc:creator><![CDATA[Mohamed A. Abdi]]></dc:creator>
            <pubDate>Sat, 16 Feb 2019 16:41:30 GMT</pubDate>
            <atom:updated>2019-02-16T16:53:00.739Z</atom:updated>
            <content:encoded><![CDATA[<p>I had some weird authentication problems when deploying PnP Templates that says “<em>The remote server returned an error: (403) Forbidden</em>”. I say “weird” because I could not figure out the reason its failing.</p><p>Here is a long Github issue about this:</p><p><a href="https://github.com/SharePoint/sp-starter-kit/issues/179">Couldn&#39;t install the starter kit - I&#39;m getting (403) Forbidden error · Issue #179 · SharePoint/sp-starter-kit</a></p><p>Using Office 365 AppPasswords fixed my problem.</p><p>Here are some steps I use to simplify the process:</p><ol><li>Go to AppPasswords link: <a href="https://account.activedirectory.windowsazure.com/AppPasswords.aspx">https://account.activedirectory.windowsazure.com/AppPasswords.aspx</a></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1iXYxsWquUqPOwLCMakJMw.png" /></figure><ol><li>Create a new password and copy it before closing the dialog.</li></ol><p>2. You can then store your password in Windows Credential Manager. Here is PnP command to do it:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a7451e22d27ec643576cbec0be0a746c/href">https://medium.com/media/a7451e22d27ec643576cbec0be0a746c/href</a></iframe><p>That way you Apply-PnPProvisioningTemplate or any other PnP commands will not fail.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=955e4dc20553" width="1" height="1" alt=""><hr><p><a href="https://medium.com/maxali/using-apppassword-with-pnp-powershell-955e4dc20553">Using AppPassword with PnP PowerShell</a> was originally published in <a href="https://medium.com/maxali">Maxali</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SharePoint Home Service APIs]]></title>
            <link>https://medium.com/maxali/sharepoint-home-service-apis-4b7474f2defd?source=rss----847b49990e73---4</link>
            <guid isPermaLink="false">https://medium.com/p/4b7474f2defd</guid>
            <category><![CDATA[sharepoint-framework]]></category>
            <category><![CDATA[sharepoint-online]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Mohamed A. Abdi]]></dc:creator>
            <pubDate>Wed, 05 Dec 2018 14:46:38 GMT</pubDate>
            <atom:updated>2019-12-13T11:57:05.679Z</atom:updated>
            <content:encoded><![CDATA[<p>Today I had customer requirement to create a webpart that shows Frequent sites in SharePoint Home. I don’t know how the new SharePoint home aggregates this data and I could’t get it done in SharePoint Search.</p><p>I tried to find out where this comes from. The sharepoint.aspx page is server rendered and it does not send any client side requests to get this data. Clicking on See All link on Frequent sites sends client side request. It is a new web services api outside SharePoint and Microsoft Graph. I put together some API you can use to get all the data in SharePoint Home.</p><h4>Get in SPHomeSerivce</h4><p><a href="http://sphome.svc.ms/">sphome.svc.ms</a> is the API server but it has different servers based on your location. northeurope1-sphomep.svc.ms is the one I have seen but there are probably more servers. You need to get spHomeService server API first. This will give you server URL and auth token required to access the service.</p><pre><a href="https://contoso.sharepoint.com/_api/sphomeservice/context?$expand=Token,Payload">https://contoso.sharepoint.com/_api/sphomeservice/context?$expand=Token,Payload</a></pre><p>This gives you Urls , Token , and Payload. URLs is an array with spHomeService API servers. Token has access_token for authetication.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a17956ae5cb0ea4a8a87e6e3b3bb2a32/href">https://medium.com/media/a17956ae5cb0ea4a8a87e6e3b3bb2a32/href</a></iframe><p>Some of other REST endpoint you can use are</p><pre><em>//Followed Sites =============================================</em></pre><pre>/api/v1/sites/followed?mostRecentFirst=true&amp;start=0&amp;count=100&amp;fillSiteData=true</pre><pre><em><br>//Most Frequented Site =============================================</em></pre><pre>$.getJSON(&#39;https://northeurope1-sphomep.svc.ms/api/v1/sites/feed?start=0&amp;count=3&amp;acronyms=true&#39;)</pre><pre><em>// To get site activities, send &quot;ItemReference[]&quot; from /feed as body to</em></pre><pre>$.post(&#39;https://northeurope1-sphomep.svc.ms/api/v1/activities?count=3&#39;,</pre><pre>[{&quot;SiteId&quot;:&quot;461a869b-5528-4db2-bca0-1f295de9b620&quot;,&quot;WebId&quot;:&quot;c8ebe0df-2075-46b0-b1ef-3176a91ad4f4&quot;,&quot;IndexId&quot;:17592565530167,&quot;Type&quot;:&quot;SiteReference&quot;}])</pre><pre><em>//Recent ===========================================================</em></pre><pre>$.getJSON(&#39;https://northeurope1-sphomep.svc.ms/api/v1/sites/recent?start=0&amp;count=6&amp;acronyms=true&#39;)</pre><pre><em>// Suggested sites =================================================</em></pre><pre>$.getJSON(&#39;https://northeurope1-sphomep.svc.ms/api/v1/sites/suggested?start=0&amp;count=21&amp;acronyms=true&#39;)</pre><pre><em>// News ============================================================</em></pre><pre>$.getJSON(&#39;https://northeurope1-sphomep.svc.ms/api/v1/news&#39;)</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b7474f2defd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/maxali/sharepoint-home-service-apis-4b7474f2defd">SharePoint Home Service APIs</a> was originally published in <a href="https://medium.com/maxali">Maxali</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>