Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I need to add a custom webpart to default.aspx page of created MySite. I followed this post and it is working well. What is strange thou, it works well for users that authenticate via Windows Autehntication. When I'm creating MySite for user authenticated via ADFS, code runs smooth until, but Provisioned flag never changes its status - it's always false, so while loop RunProcess never exits. Do you have any clue why this might be happening? Could it be because of lack of profile synchronization (I have UPS, but not all profiles are up-to-date)?

share|improve this question
    
Reading through that article I notice the Thread.Sleep... This doesn't feel like a very sensible approach as it will not scale beyond a smallish number of users and will impact the farm performance if many threads are slept at a time. –  Wes Hackett Feb 8 '12 at 13:22
    
I didn't find any other soluction. When I try to add web part in feature receiver without additional thread, I'm getting error that default.aspx is not available. It is available when site is provisioned, but Provisioned flag for site's root web never changes to true when user is logged differently than by AD. –  jjczopek Feb 8 '12 at 14:54
    
I have the same problem, provisioned never turns true, any help? –  user15322 Mar 5 '13 at 16:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.