Tuesday, November 28, 2017

Get Task ID from Microsoft Planner Task

Requirement
How to get the Task ID or Plan ID or even Group ID if you are creating a Plan in O365 groups?

I was trying to get this for Microsoft Flow and searched internet, but did not get any clue. Suddenly it clicked me that everything is URL based.

Solution:
1. you Click on the Plan/Task for which you want to get the Task ID.
2. From the Browser copy entire URL to Notepad

You will see all the ID's in the URL

/Planner#/plantaskboard?groupId=0d52bddf-1e68-4d4f-9b8e-5fa71807118a&planId=yAERHCrmZUOYLBkFt3p-vZYAFf9Z&taskId=bfdr71NIqkqrDdXxrerNTJYAEL81

so in this case the taskID I needed to use in my MS Flows was "bfdr71NIqkqrDdXxrerNTJYAEL81"

I enter just that string and my Flow was accepting the value and working fine. 

Thursday, March 21, 2013

Certificate error for Federated Domains on O365

Error:
One of your on-premises Federation Service certificates is expiring. Failure to renew the certificate and update trust properties within 13 days will result in a loss of access to all Office 365 services for all users. Update now

Resolution:
Follow the articles below in that order.

1. http://support.microsoft.com/kb/2383983 - On the On-Prem ADFS server, Resolution 2, only PS Commands
 Add-PSSnapin Microsoft.Adfs.Powershell
 Update-ADFSCertificate -CertificateType: Token-Signing
 
2. http://support.microsoft.com/kb/2647048 - Run the commands in this article.

Wednesday, March 20, 2013

Map Network Drive / WebDav with SharePoint Online O365

WebDav with SharePoint Online O365

Issue: While Mapping a Drive to SharePoint Online it fails with below error.

Error:
The Mapped Network Drive could not be created because the following error has occurred.'Access Denied'. Before opening files in this location, you must first add the web site to your trusted sites list, browse to the web site and select the option to login Automatically.



 
Resolution:
  1. Open IE -> Go to ‘Internet Options’
  2. Select ‘Security’ tab -> Select ‘Internet’ Zone.
  3. UnCheck the box for ‘Enable Protected Mode’
 

Issue: You are using SharePoint workspace and when you try to save the file opened from Workspace. The Save location changes to local machines Temp folder instead of SharePoint Online Library from where the file was accessed. While Saving or ‘Save As’, the location should default to the SharePoint Online library itself and not the local machines temp folder.

Check / Troubleshoot:
  1. Make sure the ‘Web Client’ service is started on the client machine.
  2. Open the SPO site -> go to the Document Library
  3. Select ‘Open with Explorer’ [ Make sure this is working fine ]
  4. Delete IE Cache.
  5. In IE ‘Trusted Sites’ zone add ‘https://*.sharepoint.com’
Note: This is basically working on the WebDav functionality to work which is related to “Open in Explorer” mode from a SharePoint Document library. If you notice that the library does not open in Explorer Window from the site directly, your Save As option will redirect you to temp folder instead of the Site URL.
 
Note: Some users may complain that after certain period of time the mapped drive disconnects or they are asked to enter the credentials again for O365. This will happen if the time period has extended over 8 hours. This is default behavior by Design. They will need to refresh the credentials. This may also occur if users have not selected “Keep me signed in” checkbox while they sign in through Microsoft Online sign-in assistant.
 
Users can't sign out of Office 365 web services
http://support.microsoft.com/kb/2507767
 
Note: This is a known issue with Office 2013 64bit version. it will not work.

Step by Step configuration to Add custom Refiners in the Refinement Panel of Search Results page for SharePoint Online

Scenario:
You may have custom Library/List columns created which you would like to show them in the Refinement Panel on the Search Results.

Step 1: Creating a Document
Library / List with Customer Columns

  1. Create a New Document library -> go to Library Settings
  2. Create a new Column “Product Type” – Choice Field is what I selected.
  3. Upload some documents to the library and give different Choice options.

 

4. Go to Library Settings -> Advanced Settings -> Click on ‘ReIndex Document library’ Button.


 

Step 2: Creating a New SiteCollection or Sub Site using “Enterprise Search Center” template. (Note: the reason we need to do this is due to the fact that we
cannot modify the OOB ‘osssearchresults.aspx’ page)

I created a Subsite under my site collection using the ‘Enterprise Search Center’ template. Make sure that you are able to search the documents uploaded.
 
Step 3: Configuring Managed
Properties for Search

  1. Logon to Microsoft Online Portal (MOP)
  2. Go to SharePoint Online Administration Center page.
  3. On the Left Panel -> Select ‘Search
  4. Click ‘Manage Search Schema
  5. Search for Existing Managed property ‘RefineableString00’ -> Edit the property and set it up as per below. -> Click 'OK'

 
Note: By Default in SharePoint Online you cannot create a new Managed Property as ‘Refineable’, due to which we need to use the existing ones and give an Alias for that.
http://office.microsoft.com/en-us/office365-sharepoint-online-enterprise-help/manage-the-search-schema-in-sharepoint-online-HA103628856.aspx#_Toc351360838


 Note: List of Default Existing Refineable Property list.http://technet.microsoft.com/en-us/library/jj219667(v=office.15).aspx#DefaultUnusedMPs 
 
Step 4:Adding the Managed Property to Refinement Panel on the Search Results Page
  1. Go to the Subsite Search Center site created in Step 2.
  2. Type in any keyword to go to the ‘Results.aspx’ page. -> ‘Edit’ that page.
  3. Edit the Refinement Panel web Part. -> Click on ‘Choose Refiners…’ button.
  4. From the list of ‘Available Refiners’ -> Select ‘RefineableString00’ -> Click ‘Add’ button.
  5. Change the ‘Display Name’ for it (Initially it may not show the Sample Values, wait for around 5-10 mins to take effect )
  6. Click ‘Ok’ -> Save and Close the Page -> Check-In and Publish the Page
 

Now when you perform the Search for documents in that library, on left Refinement Panel you will see the new Refiner “Product Type



 

Saturday, March 2, 2013

New Learning Roadmaps for SharePoint 2013

A learning roadmap is a way of organizing content (articles, white papers, videos, blog posts, etc.) to provide a customized and optimized learning path for a technology, feature, product, or solution. Starting with prerequisites and then moving on to introductory, intermediate, and advanced learning goals, learning roadmaps enables a novice to ramp up quickly and an experienced technology person to build more expertise in a particular area.
My colleagues on the SharePoint IT pro writing team have been very busy publishing the following additional learning roadmaps:
If you need to technically ramp up in any of these areas, take a look at these articles to understand the prerequisite knowledge and then dive in.
See Learning roadmaps for SharePoint 2013 for the complete list for SharePoint 2013.
See Learning Roadmaps Portal for the complete list across Microsoft products. To create your own learning roadmap, see the Learning Roadmap Template.

Sunday, February 3, 2013

Migrate data from On Premise SharePoint Server to SharePoint Online


Third-party tools:

•           SharePoint 2010 Bulk Document Importer tool - http://spbulkdocumentimport.codeplex.com

•           Bamboo Solutions List Bulk Importer - http://store.bamboosolutions.com/pc-36-1-list-bulk-import-release-15.aspx

•           Tzunami Deployer 2.5 - http://www.tzunami.com/products/Pages/TDSharePoint2010Migration.aspx

•           Metalogix SharePoint-site Migration Manager 2010 - http://www.metalogix.net/products/sharepoint-site-migration-manager-2010/

•           MetaVis Migrator for SharePoint - http://www.metavistech.com/Migrator

•           Files to go for Office 365 - http://www.thinkscape.com/SharePoint-Online-File-Migration-Tool

•           Sharegate - http://www.share-gate.com

•           SharePoint 2010 Bulk Document Importer tool - http://spbulkdocumentimport.codeplex.com

Microsoft Tool:

Not able to access OWA after O365 tenant upgrade to Wave15 - EXO

Issue
Your Exchange Online (O365) tenant was recently upgraded to the new release of Wave 15. After which Users are not able to access their mail via OWA.
Once you sign-in to the MOP -> Click Outlook. It goes Blank, does not show anything and Inbox is not accessed.

Resolution
This issue will occur if you are using IE8 on the machine. Mostly you will face with XP machines who are still on IE8 and not upgraded to IE9. As of now this is a known issue with IE8 performance and Wave15 O365

Workaround
Upgrade to IE9 or above for better use of latest Wave15 features and Functionalities.

Note:- If you are not facing this issue and there are other issues with your O365 tenant after upgrading to Wave15, please contact Microsoft Support.

Excel opens in Read-Only after upgrading to Windows 8 with Office 2010

Issue:
--------------
After upgrading your Client machine to Windows 8 OS with Office 2010 + SP1. Excel Sheets from SharePoint sites which open on Client Application for editing, open up as 'Read-Only' Mode.

Workaround:
-----------------------
On the Windows 8 Client machine create the below registry key. This is Client machine issue, NOT SharePoint Server related. 
1. Open regedit.exe
2. Naviagate to following key:
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\14.0\Common\Internet]
"FSSHTTPOff" = dword:0000001
3. Click Edit Menu -> New -> DWORD with name of "FSSHTTPOff" (without quotes)
4. Click on "FSSHTTPOff" and enter value of 1
5. Close any Office Applications and browser sessions
6. Try to repro the problem

Monday, October 29, 2012

Only 1 user Calendar (free/busy) information is not correct. [ Exchange Online ]

Issue:
========
There is a Recurring Calendar Event which keeps sending Reminders to Users Outlook Client and OWA as well. Even if we "Dismiss all" reminders, it keeps poping up. Even if you Remove the User from the "Attendees" list, the free/busy information does not sync up and it not updated either in OWA or Outlook Client.

Resolution
===========
Follow article http://support.microsoft.com/kb/2522226. Usually the '/cleanfreebusy' switch with Outlook client does not solve the issue. We need to follow the 2nd step, as per the Outlook client version of that problematic User.

"Proof of domain ownership has failed" Exchange Hybrid Configuration Wizard Failure

Issue:-
=========
While running the Exchange 2010 SP2 Hybrid Configuration Wizard, it fails with below error.

Proof of domain ownership has failed. Make sure that the TXT record for the specified domain is available in DNS. The format of the TXT
record should be "example.com IN TXT hash-value" where "example.com" is the domain you want to configure for Federation and "hash-value"
is the proof value generated with "Get-FederatedDomainProof -DomainName example.com". at
Microsoft.Exchange.Management.Hybrid.RemotePowershellSession.RunCommand(String cmdlet, Dictionary`2 parameters, Boolean ignoreNotFoundErrors).


Steps to Check and Rsolve.
===========================
1. Make sure your External DNS server has the proper TXT records for the "Proof" and you can query it successfully. [ Get-FederatedDomainProof -DomainName example.com ] Will give you the proof.

2. Open Exchange Console Management (On PREM) -> "Organization Configuration" -> Select "Federation Trust"
You should find an existing 'Microsoft Federation Gateway' Trust created by the wizard. Manually Try to run it and check if it fails. Alternatively you can run PS cmd as below in verbose mode to get the error as well.

Set-FederatedOrganizationIdentifier -DelegationFederationTrust 'Microsoft Federation Gateway' -AccountNamespace 'yourdomain.com' -Enabled $True -verbose

3. If it is pointing to FYDIBOHF25SPDLT.yourdomain.com, That GUID is Default, so dont worry. This means that still your TXT record is not fetched from External DNS to verify the 'Proof' record.

4. If you Manaully Delete the Federeation Trust and Create a new one, you will get a new Proof as well for the domain. "Get-FederatedDomainProof -DomainName example.com", will give you the new Proof, which you will need to again change in the External DNS, but mostly likely this will be the issue, if there is a stale entry in AD which can be checked through ADSIEDIT.msc

5. Main thing to check is from Command Prompt, basic 'nslookup' query. below are the commands.
>nslookup
>set q=ns
>yourdomain.com [ Here you will get multiple NS records if there are more than 1, precendence will take place during query. You need to individually Query the NS servers starting from the 1st one, usually if the first server fails to process the query, Hybrid Configuration Wizard will fail with same error. ]
>ns1.yourdomain.com < IP Address >
ns2.yourdomain.com < IP Address >

>nslookup-querytype=txt yourdomain.com ns1.yourdomain.com [ Here if the 1server fails, then that server is the issue, you need to change he precedence of the servers to the one which is responding with your Domain TXT record for the Proof. ]

Note:- This error is purely due to the Proof TXT record query is not getting processed. Even if you check in any online DNS Query tools or sites, you will see the TXT record, but it can come from multiple tries to other DNS servers as well, if the primary server fails. So usually we miss that point to check


Total Pageviews