Tuesday, 29 September 2015

Creating reports using OData Feed in Power BI

Creating reports using OData Feed in Power BI



To learn about basics of Power BI, click this article: Power BI in SharePoint Online

Scenario:
In this article, let’s get the data from OData (Open Data Protocol) feeds and use the Power BI desktop software to design reports and publish it to Power BI site

To learn more about what OData is and how to integrate, read the following articles:
  1. https://msdn.microsoft.com/en-us/data/hh237663.aspx 
  2. https://support.office.com/en-us/article/Access-OData-Feeds-from-Power-Query-82BD48B9-6A2F-4F2A-83C9-6868BA1D30E2
  3. http://www.odata.org/   
    Read my article from the following TechNet link and share your valuable comments:

                     Creating reports using OData Feed in Power BI

    Power BI Dashboard screenshot reference:

    Power BI Dashboard from mobile app reference:

                        
              



    Reference:http://sharepoint-works.blogspot.in/2015/09/creating-reports-using-odata-feed-in.html

    http://social.technet.microsoft.com/wiki/contents/articles/32303.creating-reports-using-odata-feed-in-power-bi.aspx

    SharePoint 2016 IT Preview Released

    SharePoint 2016 IT Preview Released

    SharePoint 2016 IT preview has been released! Cloud first infrastructure, Large file support (10GB!), Durable links, Zero downtime on patching, App launcher, Cloud hybrid search are some new exciting features!! 




    You can download the SharePoint 2016 IT Preview at: http://www.microsoft.com/en-us/download/details.aspx?id=48712

    As per Microsoft, SharePoint Server 2016 will become available in Q2 2016, with a public beta planned for Q4 2015:http://blogs.office.com/2015/04/16/sharepoint-server-2016-update/

    Read more: http://www.sharepointdiary.com/2015/08/sharepoint-2016-it-preview-released.html#ixzz3n7L2p600

    Deprecated Features in SharePoint 2016 Preview

    Deprecated Features in SharePoint 2016 Preview

    SharePoint Foundation
    1. SharePoint Foundation 2013 remains available for use
    2. Previous releases of SharePoint Server included SharePoint Foundation, a free edition of SharePoint that included most of the core functionality and architecture provided by the commercial editions of SharePoint. SharePoint Foundation is no longer available in the SharePoint Server 2016 release.
    Standalone Install mode
    SharePoint Server 2016 IT Preview doesn't support the standalone install option, so it is no longer available in the setup program. Use the MinRole during installation and choose one of the available install options. The Single Server Farm option where everything is installed on the same computer is supported for dev/test/demo purposes. When you use this option, you must install SQL Server yourself and then run the SharePoint Server 2016 farm configuration wizard.. For more information, see "MinRole farm topology" in New and improved features in SharePoint Server 2016 IT Preview.
    ForeFront Identity Manager client (FIM)
    Earlier versions of SharePoint used ForeFront Identity Manager client (FIM) to synchronize between Active Directory and SharePoint. SharePoint Server 2016 IT Preview no longer uses FIM as the synchronization client. The default process is Active Directory Import. You can also use any synchronization tool such as Microsoft Identity Manager 2016, or any third-party tool. We'll soon release tools to help you deploy and configure Microsoft Identity Manager 2016 to work with SharePoint Server 2016 IT Preview for identity synchronization.
    Excel Services in SharePoint
    Excel Services and its associated business intelligence capabilities are no longer available in SharePoint Server. Excel Services functionality is now part of Excel Online in Office Online Server Preview, and SharePoint users can use the services from there.
    The following Excel Services functionality has been deprecated:
    • Trusted data providers
    • Trusted file locations
    • Trusted data connection libraries
    • Unattended service account
    • Excel Services Windows PowerShell cmdlets
    • Opening of Excel workbooks from SharePoint Central Administration site
    The following Excel Services functionality requires Excel Online in Office Online Server Preview:
    • Viewing and editing Excel workbooks in a browser (with or without the Data Model)
    • Excel Web Access web part for SharePoint
    • ODC file support (no longer requires Data Connection Librariees)
    • Programmability features such as JavaScript OM, User Defined Function Assemblies, SOAP and REST protocol support
    SharePoint BI capabilities
    SharePoint Server 2016 requires updated versions that will ship later this year. The SQL Server 2014 Power Pivot and Power View add-ins for SharePoint 2013 cannot be deployed or used in SharePoint Server 2016 IT Preview. The following business intelligence features won't be available until then:
    • Power Pivot Gallery
    • Scheduled Data Refresh
    • Using another workbook's Data Model as a data source
    • Power View reports (standalone or embedded in Excel workbooks)
    • Power View Subscriptions and Report Alerting
    Power Pivot Management Dashboard
    • BISM Link support
    Tags and Notes
    The Tags and Notes feature is no longer available in SharePoint Server 2016 IT Preview. Users can no longer create new tags and notes or access existing ones.

    Configure FBA SharePoint 2013

    Configuring SharePoint 2013  Form Based Authentication .

    This article explains step by step information on configuring Form Based Authentication (FBA) in SharePoint 2013.

     This article would be useful for developers/designers/architects and those who want to implement form based authentication (FBA) for their SharePoint 2013 sites as a business requirement.
    We cannot use the classic / basic claimed based authentication for all business scenarios. I was recently working on a consumer portal or product selling site where form based authentication is most appropriate. This article resolves authentication issues by configuring a SharePoint 2010 site with form based authentication.

    STEPS TO CONFIGURE FBA IN SHARE POINT 2013

    Below are the steps required to configure FBA in SharePoint 2013. I will be using MS SQL database as membership store for users.  

    A) Setting up ASP.NET Forms Authentication User and Role Data Source 
    1. Create Database 
    2. Configure Membership and Role Provider 
    3. Create User
    B) Create Web Application and Site Collections
    C) Configure Web.Config file 
    1. Configuring Security Token Service web.config file
    2. Configuring Central Administration web application web.config file
    3. Configuring FBA web application web.config file
    D) Adding User Policy to the FBA Web Application
    E) Verification Steps 

    A) Setting up ASP.NET Forms Authentication User and Role Data Source 

    1. Create Database 

    To create database, Microsoft has provided a tool/ utility called
    aspnet_regsql.exe that creates a database for us. This utility can be found in %windir%\Microsoft.Net\Framework64\v2.0.50727 folder. Please see the image below: 
    Executing aspnet_regsql.exe file will open ASP.Net SQL Setup wizard that will walk through creating the ASP.Net database. I have added the database name as FBANetDB and configured it for windows authentication. Please see the image below:
    Click on Next button. Please see the image below:
    Select Configure SQL Server for application services option and click Next button. Please see the image below:





    Click Next button. Now the database FBANetDB is created successfully. Please see the image below:

    Verify  in SQL SERVER  Database  Created or not .....



    2. Configure Membership and Role Provider 

    In the previous section, database is created successfully. Now we need to add a user in to database. Using ASP.NET Configuration Wizard, users can be added the database. This can be achieved by creating web site that will allow us to add the users and roles and also ensure the database connection strings, membership and role providers are correctly configured before we bring SharePoint in to equation.
    Below steps explains creating web site and configuring membership and role providers and executing ASP.Net Configuration Wizard.
    a) Open Visual Studio 2012 and select File ? New ? Web Site. In the New Web Site dialog, select the ASP.Net Web Site template and enter the location to store the web site files. Please see the image below:

    You can choose any location whichever is comfortable for you. web.config file will be added to project automatically.

    b) By default, you will see a <connectionStrings/> node within <configuration> node. Specify the connection string to the database which has been created in the previous section. Please see the image below:


    I have mentioned server as TEST_WEU. This is the server in which SQL Server 2008 is installed. Please mention the respective server name.
    Also add the membership provider and role provider within <system.web> tag. See the below image for more information.

     

    c) Save web.config file and launch the ASP.Net Configuration Wizard by clicking on Website ? ASP.Net Configuration. Please see the image below:

      

    d) Set the authentication type in the above wizard. To do this, click Security link. In the Security tab, under Users section, click Select authentication type link. Select From the internet option and press Done button which is available in the bottom right corner. By selecting this option, which means that site will use form authentication to identify users. Please see the image below:

      

    e) To test the membership and role providers, click on Provider tab. In the Provider tab, click on Select a different provider for each feature (advanced) link. Select right / correct membership and role provider and click Test link to ensure that providers are communicating to right database.

    At this point, we configured web.config file with connection string and providers information. Also we tested the providers with the database. Next section will explain adding users to database.

    3. Create User 

    a) To add users, click on Security tab. In Security tab, under Users section, click Create user link. Here I am adding user as testFBA and password as password which will be used for testing form authentication later. Please see the image below:

      




    Now we have created a user successfully. Do not worry about creating roles at this time and will be explained later.


    B) Create Web Application and Site Collection 

    Follow the below steps to create web application and site collection.
    a. Go to Central Administration ? Application Management ? Select ‘Manage Web Application’ link present under ‘Web Applications’ section.
    b. Click on ‘New’ option in the ribbon.

      1. See the below image for ‘Authentication’ and ‘IIS Web Site’ section.




    Create Site Collection after creating web application. Select the template whichever you want to create site collection.

    C) Configure Web.Config file

    1. Configuring Security Token Service web.config file 


    Open Security Token Service web.config file from %Program Files%\Common Files\Microsoft Shared\web server extensions\14\Web Services\SecurityToken location and add the below entries.
    a. Add Connection String. Connection String has to be added above <system.web> tag. See the below image for more information.


    <!--FormBsed Authentication strarts--> 
      <!--Sql MemberShip -->
      <system.web>
        <authentication mode="Windows"/>

        <membership>
          <providers>
            <add connectionStringName="FBAConnectionString" applicationName="/" name="Ext" type="System.Web.Security.SqlMembershipProvider, System.Web,&#xD;&#xA; Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
        
          </providers>
        </membership>
    <!--Sql RolesProvider Starts-->
        <roleManager>
          <providers>
            <add connectionStringName="FBAConnectionString" applicationName="/" name="ExtRole" type="System.Web.Security.SqlRoleProvider, System.Web,&#xD;&#xA; Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
               
          </providers>
        </roleManager>

    2. Configuring Central Administration web application web.config file 

    Open Central Administration web application web.config file and add the below entries.
         a. Add Connection String. Connection String has to be added after </SharePoint> and before <system.web> tag. See the below image for more information.

               

     b. Add Membership Provider and Role Provider

    <!--FormBsed Authentication strarts--> 
      <!--Sql MemberShip -->
      <system.web>
        <authentication mode="Windows"/>

        <membership>
          <providers>
            <add connectionStringName="FBAConnectionString" applicationName="/" name="Ext" type="System.Web.Security.SqlMembershipProvider, System.Web,&#xD;&#xA; Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
        
          </providers>
        </membership>
    <!--Sql RolesProvider Starts-->
        <roleManager>
          <providers>
            <add connectionStringName="FBAConnectionString" applicationName="/" name="ExtRole" type="System.Web.Security.SqlRoleProvider, System.Web,&#xD;&#xA; Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
               
          </providers>
        </roleManager>

    c. Add key for users to add



    3. Configuring FBA web application web.config file 

    Open FBA web application web.config file and add the below entries.
         a. Add Connection String. Connection String has to be added after </SharePoint> and before <system.web> tag. See the below image for more information.


     b. Add Membership Provider and Role Provider

      <membership defaultProvider="i">
          <providers>
            <add name="i" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthMembershipProvider, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" connectionStringName="LocalSqlServer" enablePasswordReset="false" enablePasswordRetrieval="false" passwordFormat="Clear" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" />
            <add name="Ext" type="System.Web.Security.SqlMembershipProvider, System.Web,&#xD;&#xA; Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="FBAConnectionStringNCGF" applicationName="/" enablePasswordReset="false" enablePasswordRetrieval="false" passwordFormat="Clear" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" />
          </providers>
        </membership>
        <roleManager cacheRolesInCookie="false" defaultProvider="c" enabled="true">
          <providers>
            <add name="c" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthRoleProvider, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
            <add connectionStringName="FBAConnectionStringNCGF" applicationName="/" name="ExtRole" type="System.Web.Security.SqlRoleProvider, System.Web,&#xD;&#xA; Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
          </providers>
        </roleManager>

    c. Add key for users to add


    save and close  all the   config files

    Test the FBA 

    Go to centralAdministration--->Application  Management-----> select   you newly created WebApplication ---> In Ribbon  select  Authentication Providers


    select  your  zone 

    Enter the  details of  Membership provider and Roles Providers

    Click save and close..


    now the  enter the  webapplication url  in browser

    you will see the  form based  Authentication  login

    that's all

    Hope  you understand  ......................... Easy


    References:
    http://www.codeproject.com/Articles/352841/How-to-Configure-Form-Based-Authentication-FBA-in

    Monday, 28 September 2015

    SHARE POINT IS EASY...........................................


    Is Microsoft Sharepoint hard to learn?


    Or is it easy enough to learn that I could learn it in a couple of weeks for a job?


    SharePoint is big platform that can do a ton of things. It is not hard to learn the user-level basics (uploading files, accessing files, searching for things via tags, etc.), but there are a LOT of extra things you can do with it that do take some time to learn. If you represent yourself as being proficient in it I would think that your employer would expect you to be able to do the higher-level fancy stuff. 

    Also, using SharePoint as just an average user is one thing, but many workplaces have someone behind the scenes who is setting up or administering the SharePoint site, and that is again much harder (companies also pay consultants thousands of dollars to do this for them). It's really customizable so there is a lot you can do.

    If you like diving in and learning new platforms and you are pretty savvy about this kind of thing already, I think you can learn SharePoint well, but you likely won't be able to do an overnight crash course and fool someone into thinking you are a SP expert when you're not.


    1. Be (or become) really good at solving problems
    2. Have access to a SharePoint environment.
    3. Get some real-world problems to solve
    4.Get to know SharePoint’s user interface really well
    5. Learn to do things the SharePoint way
    6. Find a mentor
    7. Learn the internals of SharePoint
    8. Learn .NET
    9. Get to know the Windows Infrastructure ecosystem
    10. Build solutions, not customizations



    What is SharePoint

     

    SharePoint 2013

     

    SharePoint 2010

     

    SharePoint 2007

     

    Based on my experience it depends on just one questions if you're good at working with SharePoint or if you fail. You can be a good developer but if you don't understand your customers pains points you fail. You can be a skilled end user but if you're forced to switch your daily working routine and tools you won't use the full potential of SharePoint.
    That's why it's most important to fully understand why your current working environment may not be efficient. Why you do work which may be already done. Why you try to learn something someone else might already know.

    What is SharePoint?

    You are an Information Worker. I'm an Information worker. The whole day we try to find information, use it and store it. At the end we have new information which can be used to make a decision. But is our decision right? Did we miss something? We need to justify our decision and because of that it has to take everything into account.
    "I need something to store, to manage and to retrieve information, to find a person who may have the information I need and to access it from anywhere. I also need something that not only gets information I also need something thatprepares, visualizes it or sorts it by relevance."
    "An application that can do all the things will have a great impact on my performance during my working day."