InfoPath Error in SharePoint 2016: There has been an error while processing the form

Warning There has been an error while processing the form. click OK to resume filling out the form. You may want to check your form data for errors.

clip_image001[6]

Let me guess, you have gone through all possible verifications on data sources and form fields and everything pretty well developed and verified ? same goes for me. one of my colleague was developing a form and she came up with this error on SharePoint 2016 recently.

She was using GetUserProfileByName SOAP Web Service to fetch current user’s group in to a field, and that’s where this error prompts. that was verified by removing the particular connection and rules filling up data.

After verifying form fields, Data connections and other basics, I decided to inspect the infrastructure step by step. SharePoint logs and Event Log did not had any relevant entry. Finally in the lonely boat, I took following steps one after one to sail towards an island.

1. Enabled all InfoPath services from CA (General Application Settings) – Everything is already set

clip_image001[8]

clip_image002

clip_image003

2. Registered the HTMLCHKR – no luck

regsvr32 “C:\Program Files\Common Files\Microsoft Shared\OFFICE14\htmlchkr.dll”

  1. 3. Added the target site to InfoPath application’s trusted Locations – no luck
  2.  
  3. clip_image001[10]clip_image002[6]
  4. 4. Restarted and recycled Security Token Service Application/pool for all WFEs – no luck
  5. image
  6. 5. Restarted Servers – no luck

Two last steps were able to shed some lights !

6. Disabled loopback check

What is Loopback check?. If you have been prompted continuously for credentials in a SharePoint server when you try to access your site within that server, that’s obviously because of loopback.

Microsoft: Windows Server 2003 SP1 introduced a loopback security check. This feature is obviously also present in Windows Server 2008/12. The feature prevents access to a web application using a fully qualified domain name (FQDN) if an attempt to access it takes place from a machine that hosts that application. The end result is a 401.1 Access Denied from the web server and a logon failure in the event log.
Unfortunately 401.1 is not really helpful as this error code means there is a problem with the user credentials. Of course, the HTTP spec doesn’t know about security features in a vendor’s implementation so there can’t be a HTTP error code for such a feature. This can lead to much banging of the head on the desk. It’s one of numerous causes of the 401.1 which are nothing to do with invalid credentials (e.g. attempting to use Kernel Mode Authentication with domain account in IIS7).

Option1 : Logged in to target SharePoint Server/s and launch PowerShell as administrator, then ran – New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name “DisableLoopbackCheck” -value “1” -PropertyType dword)

You don’t need to add it if its exists (means loopback is already disabled)

clip_image001[4]

  1. Option 2: You can also Add this registry entry manually
  2. Click Start, click Run, type regedit, and then click OK
  3. In Registry Editor, locate the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
  4. Right-click Lsa, point to New, and then click DWORD Value. (In Win 2008, its DWORD 32bit)

Type DisableLoopbackCheck, and then press ENTER.

Right-click DisableLoopbackCheck, and then click Modify.

In the Value data box, type 1 and then click OK.

Quit Registry Editor.

  1. Then I ran SharePoint Product Configuration wizard on SharePoint Server just to give it a refreshment.

After restarting Servers, added the form connection and rules back and InfoPath form loaded perfectly normally !

SharePoint 2016 Product Configuration Wizard Error: Configuration Failed with Unauthorized Access Exception

If you are going to deploy SharePoint 2016, this is a common error that encountered.

clip_image001[4]

The error pretty much pointing to a Access permission which you might doubtlessly think its database permission but no it’s not !

clip_image002[4]

If you expand the event log, It will have 100, 104 errors logged due to this.

clip_image003[4]

Resolution is to permit setup account to access Tasks folder (C:\Windows\Task). This is a critical folder which needs to be able to access by the setup account during the Product Configuration.

To take the ownership of this folder, log in to relevant SharePoint server using a local admin account and right click on the Tasks folder.

clip_image004[4]

Under Security tab, go to Advance

clip_image005[4]

Change the Owner from SYSTEM to your Setup account (the account will be used to run Product Config Wizard)

clip_image006[4]

Once changed, the new owner can be seen as showed below.

Error-SPSetup

Repeat the same for all SharePoint Servers in your farm if you planned to have multiple. Now run the Product Configuration Wizard again and you will notice its smoothly passing to task 5. within few minutes, the Wizard will be successfully complete.

clip_image008[4]

And here comes the winning moment !

image

If you are still accounting with any additional errors in the Wizard, these points are some basic ones to verify.

Ensure:

  1. 1. Antivirus Disabled for all SharePoint and Database Servers (If any)
  2. 2. Firewall
  3. 3. Named Pipes in SQL Services enabled (Sometimes this isn’t enabled by default)

And then:

  1. 1. Disable UAC (Never Notify)
  2. 2. Restart Server
  3. 3. Run the Product Config Wizard again as Administrator

Enjoy the all new SharePoint !

SharePoint Hybrid Deployment Live Demo

It was a fruitful day at Collab365 Global conference 2016 with lots of wonderful sessions from experts allover the world. It was great to address an online crown this morning and my session is now on-demand and you can watch it here

Hybrid

Here are some resources for those who love to explore and try Hybrid for SharePoint

Download IdFix Tool – https://www.microsoft.com/en-us/download/details.aspx?id=36832

Download Azure AD Connect – https://www.microsoft.com/en-us/download/details.aspx?id=47594

Planning SharePoint Hybrid Free E-Book – https://blogs.msdn.microsoft.com/microsoft_press/2016/04/26/free-ebook-planning-and-preparing-for-microsoft-sharepoint-hybrid/

Configuring SharePoint Hybrid Free E-Book – https://blogs.msdn.microsoft.com/microsoft_press/2016/07/06/free-ebook-configuring-microsoft-sharepoint-hybrid-capabilities/

Its Official and I will be speaking at Collab365 Global Conference!

It is indeed a great opportunity for me to present in the world’s largest online conference with over 5000 attendees from more than 100 countries.

Collab365 is the largest online conference with hundreds of live sessions streamed nonstop 24 hours. Join the Collab365 team on the 19th – 20th October, for great sessions of SharePoint, Azure and Office365 content by the global experts. Delivered direct to your device, wherever you are in the world, when you want it and for no cost at all.

13692752_743937695748615_4419095732286813445_n

Register yourself today at http://collab365.events/collab365-global-conference-2016/

Azure AD Conditional Access for Office 365 (Exchange and SharePoint Online) Preview Release

Yesterday Microsoft announced one of the most awaited feature for Office 365, “Azure AD Conditional Access Preview” for SharePoint Online and Exchange.

What is Conditional Access and What it is for ?

Security has been one of the key elements in systems for decades but for the present time it needs to be much more comprehensive than ever before with the evolvement of the cloud and mobile era. With the rise of devices used by a person and the ability to access corporate resources from anywhere in the world, there is a massive demand of securing corporate resources. Ultimately the latest strategies of securing corporate resources are defined by the new ways which users are used to accessed them.

Microsoft has taken another big leap of security capabilities with this release today. Azure Active Directory Conditional Access Features Allows you to secure and manage your corporate resources in simple ways in cloud or even on premise. If you want to ensure an stolen user credential or unmanaged device will not harm your corporate resources, Azure AD Conditional Access if made for you.

clip_image001

How is the access Enforced

Generally when a user signs in to a service, Azure Active Directory checks whether the security inputs of this user meets the access requirements you defined. and if the requirements are met, user will be authorized to access the service or application.

The enforcement can be done in two ways. You can define policies to configure the access either way, for users or devices.

  • User based Access (Control who you want to allow access)

User Attributes – User Attributes level can be used to define policies of which users can access organization’s resources.

Group Membership of a User – or either based on the Group/Groups of user which he/she represents in.

Multifactor Authentication (MFA) – Multifactor Authentication can be configured to ensure better security. User has to provide more than one factor (Password) which could be either a PIN or Phone Number. That ensures extra level of security for your organization’s resources.

Sign-in and User Risk – This capability known as “Conditional Access Risk Policies” comes with Azure AD Identity protection. This will allow you to track unusual sign in activities and risk events based on the access trends and implement advance protection. Global and Multi-region companies will benefit a lot with the capability.

  • Device Based Access (Control what you want to allow access)

Enrolled Devices – Using Microsoft Intune, you can use Device Level Access to control only MDM (Mobile Device Management) Enrolled devices are allowed to access resources. Intune is capable to validate if the device is enrolled with MDM. Also device level access will ensure that only the matched devices with the policies (such as force file encryption on a granted device) you have configured are allowed to access. Even you can flush out the content of a device remotely which was stolen or misused using MDM solutions.

The best part is, It’s not just limited to the cloud, you can also use device based access policies to control your on premise resources or even cloud based SaaS or line of business applications.

What does this Preview Brings you?

This release is a much awaited capability for most of the organizations and a huge step on the Access Policy framework. Conditional Access for CRM and Yammer been already there but Specially for SharePoint and exchange, the call has been ringing there for quite long time.

These three conditions are released for SharePoint and Exchange online as preview. Microsoft Recommends to enable these policies alongside risk based conditional access policy available with Azure Identity Protection.

  • Always require MFA
  • Require MFA when not at work
  • Block access when not at work

Conditional Access Policies are supported in Browser based access to Exchange Online, SharePoint Sites and OneDrive and even for Desktop Applications that uses modern authentication mechanisms.

Across the mobile devices, these are the tested desktop and mobile applications connects to Exchange and SharePoint so far by Microsoft.

  • For Windows 10, Windows10 Mobile, Windows 8.1, Windows 7 and Mac
  • Outlook, Word, Excel and PowerPoint in Office 2016
  • Outlook, Word, Excel and PowerPoint in Office 2013 (with modern authentication enabled)
  • OneDrive Sync Client (with modern authentication)

For IOS

  • Outlook Mobile App

Resources:

Detailed Explanation of Azure Ad Conditional Access

Conditional Access Policy Support for Mobile Devices

Original Announcement

Some List Fields Invisible in Edit/View Forms after Migrating to Office 365 SharePoint Online

We did a Portal Migration from On-Premise SharePoint to Office 365 SharePoint online. and all went well except few issues raised by end users as they supposed use this portal for many workflows and other automations.

First issue is that some of the fields are invisible in Edit/New Forms when editing or creating records in most of the lists. All these were well functioning in On-premise SharePoint 2010.

These fields were seen in any views (Custom/All Items) too but not in Edit/View Forms.

Enabling “Content Types” from List Settings –> Advanced Settings and then Looking at the Content Types under the List Settings, there were only one Content Type which is Default “Document” Content type and clicking on it showed only two fields added to it. So this is the Point !

Document Content Type is the default Content Type here and the custom fields were not added to it. This is the cause of the issue.

clip_image001

Simply Adding the necessary Fields in to this Content Type would save our day.

clip_image002

And Yes, the Forms then appeared to contain all the fields it supposed to have.

clip_image003

SharePoint All New Intelligent Intranet: Future of SharePoint Global Event at a Glance

The SharePoint Begins and MAY THE COMMUNITY BE WITH YOU !

With the global event of Future of SharePoint by Microsoft, here I’m covering some key areas highlighted during the presentation and demo.

SharePoint 2016 is the most reliable, rock-solid release ever done by Microsoft “Seth Patton – General Manager SharePoint and OneDrive”

  • This is a Foundational release not the last server release. Born in the cloud, Delivered on-premises, Hybrid at core.
  • The Most Comprehensive, Validated, tested version of SharePoint history so far.
  • Built for continuous innovation and improvements.

The first point is a huge breath release for all SharePoint lovers across the globe for sure. Swipe your sweat and this is the biggest news on the event which means the absolute SharePoint era is just began. Finally with the mobile first cloud first strategy, Microsoft brings SharePoint in to the arena with trending capabilities with all new technological changes.

SharePoint 2016 is the most comprehensive, validated and tested version so far. bringing the power used in Office 365 in to SharePoint 2016 is a big leap in terms of performance and experience. and that seems to be very much true because my deployment proved it with the experience I had with SharePoint 2016 compare to 2013. Performance and experience wise, this is obviously the most robust and wonderful (few things yet to come though !).

Key Areas:

  • User Experience
  • Compliance and Policies
  • Hybrid Cloud
  • Insights (based on graphs) end to end security and manageability
  • Comprehensive DLP and E-Discovery

SharePoint is very much core to the productivity and core to the Office 365 platform. And it is central to Office 365. This means a lot for SharePoint community indeed. It is obvious in this people and data centric era, SharePoint acts the biggest role.

clip_image001

It was previously the SharePoint wheel if you remember. Those features won’t die and don’t get misled with this image. This isn’t the new version of SharePoint wheel. These are the improvements were highlighted by Microsoft as bolt investments carrying out.

clip_image002

New Site Creation

Easy and faster site creation with the Group Integration and a brand-new UI.

clip_image003

New Mobile App for both SharePoint online and On-Premise will be rolled out this year. Mobile app isn’t new but an effective and nice looking mobile app was one thing missed the most for SharePoint specifically for Intranets. Ultimately you will get your Intelligent Intranet in your Pocket with these wonderful capabilities along with Office Graphs.

clip_image004

Activity Feed for various sites will allow you to navigate across sites and content easily than ever before.

clip_image005

Frequent (navigate across both On-Prem and Cloud Content effectively)

clip_image006

Used office graphs to Display people who often interacts with you.

clip_image007

And tap in to profiles simply via People Tap. See the content they are working on and even communicate straightaway.

clip_image008

New SharePoint Home

Finally an all New home for SharePoint. The Left navigation is there but not the traditional ways it supposed to be in any previous versions. Sites and Links are nicely displayed in the left panel while the Frequent and Suggested items are shown in the Main area with the Office Graphs Intelligence. You can create a new site right away thought the link given and even follow a site straight from the same area.

clip_image009

New team Sites Experience

Either on Web or Mobile, All new Team Sites experience is just looks incredible. Finally Microsoft has bought the trending user experience to pages. News and Activities are by default displayed with the power of office graph. Office graph is everywhere and it understands your work pattern and trend then brings you the most awaited experience all over the portal.

The Experience is showed in Office 365 SharePoint and it might also get in to SharePoint On-Premise in the future with the updates (well, that’s the wish!)

All in all, the new site experience is definitely a huge change in terms of design and the performance perspectives. Creation of a Page, site or a library is incredibly faster than it was so that will simply grab the user adoption and attraction.

clip_image010

Simple File Sharing

  1. Deep Office Integration (office, PPT and all works hard to make this integration more seamless)
  2. Rock solid Sync
  3. Intuitive browser experience
  4. Seamless collaboration
  5. 4+ star-rated mobile apps
  6. Intelligence – Power of Office Graph (helping you to be productive with)

Document Libraries Redefined

clip_image011

Introduced under the Unified access and intelligent Discovery, a Seamless experience given to Libraries as your experience on OneDrive. With these new Library improvements, you will get the same experience as you interact with OneDrive Interface.

clip_image012

Faster Uploading and Syncing with more key board Interaction commands. This Library experience will provide you full power with the consistency of OneDrive. Doesn’t matter where you are and what type of a device you use, your experience will yet remain the same.

clip_image013

These Capabilities are Rolling out this quarter:

  • Access to SharePoint Online document libraries and Office 365 Group files from the OneDrive mobile app.
  • Intelligent discovery of documents from both OneDrive and SharePoint.
  • Copy from OneDrive to SharePoint in the OneDrive web experience.
  • OneDrive Universal Windows Platform (UWP) application.

And within this year (2016):

  • Document analytics surfaced in OneDrive to provide insight into document usage, reach and impact.
  • Synchronization of SharePoint Online document libraries with the new OneDrive sync client.
  • Synchronization of shared folders with the new OneDrive sync client.
  • Mobile access to SharePoint document libraries in on-premises farms.
  • Move and copy files between OneDrive and SharePoint in web experiences.

One of the most excited INSIGHTS

Community was so much exited to see the insights. There were many rumors about this capability but the ultimate idea is to provide Comprehensive Security and Compliance power to SharePoint In-Premise which is powered by Office 365. Office 365 operates with a massive commitment to security, privacy and compliance. Insights will provide you the same capabilities to have in your in-premise environment via the Hybrid Integration. All new DLP (Data Loss Prevention) features will be then available to SharePoint in-premise as same as Online.

Office 365 Currently Supports:

  • Customer Lockbox.
  • DLP, mobile device management (MDM) and mobile application management (MAM).
  • Whitelist and blacklist domains for external sharing.

Releasing Within this quarter:

  • Dynamic conditional access policies.

Releasing End of the Year 2016:

  • New datacenters in Germany and Canada.
  • Bring your own encryption key.
  • Granular access controls.
  • SharePoint site classification.
  • Hybrid SharePoint Insights (preview).

Biggest News was for the Developers

The SharePoint Framework introduced and will be available soon. A Page and Part model based Open platform with full Client-Side development support was an incredible news for Developers indeed. This is much awaited renovation for long time and now here it comes at the right time with Mobile-First Cloud-First era. Pretty sure that developers are the most exited audience during the whole presentation.

Microsoft Graph, Microsoft Flow, Power Apps, Power BI and finally SharePoint Framework. Now we know where we have been heading from last few years by seeing this lineup isn’t it? Yes the SharePoint feels to be just began !

Microsoft planned to release these in 3rd quarter in 2016:

  • The Files API on Microsoft Graph.
  • SharePoint Webhooks (preview).
  • Client-side web parts for existing pages (preview).

And in the end of 2016:

  • The Sites API on Microsoft Graph.
  • SharePoint Webhooks (GA).
  • Custom sites on the SharePoint Framework.

What and year full surprises for SharePoint community ahead !. Stay Tuned with updates here – https://blogs.office.com/2016

More Resources:

Announcing simple and powerful file sharing and collaboration for Office 365

Power to the people—introducing Microsoft Flow and announcing the public preview of PowerApps

Flow and SharePoint

PowerApps and SharePoint

SharePoint—the mobile and intelligent intranet

The SharePoint Framework—an open and connected platform

SharePoint Server 2016—your foundation for the future

Office 365 Trust Center