Read MicroFeed List Items from Office 365/SP online site
Hi all:
We have got a publishing site with Site Feed feature enabled. We are using Site Feed web part and everything gets stored in MicroFeed list.
There is a requirement to read all the items in MicroFeed list using .Net CSOM and also identify the associated attachments. When I try to read items from the list, I can get only get the top level item with a funny guid. The guid relates to the guid of
the web part where users are posting their stuffs. That top level item stores all other posts as its children, which I really need to access. How can I do that ?
Thanks and regards,
D_M
OK so I found out that you can read MicroFeed items using SocialFeed class. Here is the link :
http://msdn.microsoft.com/en-us/library/office/jj163237.aspx
Similar Messages
-
Hi,
After speaking with a Microsoft engineer over the phone, I've been told that there is no way to prevent users to go to their OWA and manually Purge specific items from the ''Recover deleted items''. The Microsoft tech told us to place the desired mailboxes
on a litigation-hold and that all data will be recoverable... but only from the time you place the mailbox onto Litigation-Hold and previous items, which doesn't take effect for new-coming emails.
1- From what I understand, any new items coming in the mailbox after the Litigation-Hold is put in place will still be ''purgeable'', right?
2- Is there a way (PowerShell, Security group, etc.) that can prevent a user from using the Purge option?
We are very surprised that there is absolutely no thread that talks about this issue, which in our opinion, is a major legal and security flaw from Office 365. This is a main concern for us to actually go with Office365. For instance, this means that at
any given time, if a user exchanges emails with a competitor, they can manually purge emails sent and receive as soon as it is sent/received, even after Litigation-Hold is in place.
Thank you for your reply and let us know if you have more questions.
Normand Bessette, IT support technician, Newad MediaThank you for the reply.
Is there still a way to prevent users from using the Purge option, like with a Powershell script to disable Purge? -
How to copy List item from one list to another using SPD workflow using HTTP call web service
Hi,
How to copy List item from one list to another using SPD workflow using HTTP call web service.
Both the Lists are in different Web applications.
Regards, Shreyas R SHi Shreyas,
From your post, it seems that you are using SharePoint 2013 workflow platform in SPD.
If that is the case, we can use Call HTTP web service action to get the item data, but we cannot use Call HTTP web service to create a new item in the list in another web application with these data.
As my test, we would get Unauthorized error when using Call HTTP web service action to create a new item in a list in another web application.
So I recommend to achieve this goal programmatically.
More references:
https://msdn.microsoft.com/en-us/library/office/jj164022.aspx
https://msdn.microsoft.com/en-us/library/office/dn292552.aspx?f=255&MSPPError=-2147217396
Thanks,
Victoria
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Useless World Minutes (from Office 365 subscriptio...
Hello Skype,
I got 60 world minutes each month from Office 365 subscription...which is nice...however, I have not been able to use a single minute?
Issue? Insufficient credit (!).
Destination call? SCB, a landline call to an international banking institution in the heart of HCM city, the biggest city in Vietnam...not a rural area, not a mobile phone...how so???The Office 365 signup page: http://www.skype.com/en/offers/office365/ has the supported countries clearly listed on the lower half of the page. No further research is required. This is the same list that appears under the properties of the World plan (in graphical flag form) on the Skype rates page when looking at the available plans for a particular country. If the list was any shorter, it would be wrong.
Call landlines and mobiles in: Canada, China, Guam, Hong Kong SAR, Puerto Rico, Singapore, Thailand, and United States.
Call landlines only in: Andorra, Argentina, Australia, Austria, Belgium, Brazil, Brunei, Bulgaria, Chile, Colombia (excluding rural areas - LEX), Costa Rica, Croatia, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Guadeloupe, Hungary, Iceland, Indonesia (Jakarta only), Republic of Ireland, Israel, Italy, Japan, Korea, Latvia, Lithuania, Luxembourg, Malaysia, Malta, Mexico, Morocco, Netherlands, New Zealand, Norway, Panama, Paraguay, Peru, Poland, Portugal, Romania, Russia, Slovakia, Slovenia, South Africa, Spain, Sweden, Switzerland, Taiwan, Turkey, United Kingdom, and Venezuela.
It is a 60 minute plan that adheres to 60 minutes available to those countries. It isn't $60 worth of general credit. I have not doubt restrictions in this form allow people to get the most amount of talk time and allows the promotion to be cost-limited through contracts allowing the promotion to exist. -
How to download a file version from office 365 using csom
I need to download an older file version from office 365 and get the data into a byte array. I have no trouble downloading the latest version with File.OpenBinaryStream() and I have no trouble loading the previous file versions with File.Versions. But now
I need to actually download an older version of the file and it seems the only way is to use File.OpenBinaryDirect. So I am creating a client context using my oAuth access token and providing the correct path, but I am getting a (401) Unauthorized
error. Looking with Fiddler I can see that the call to OpenBinaryDirect is somehow trying to post to my file URL and the server is responding with 401.
context = TokenHelper.GetClientContextWithAccessToken(SPHostUrl, AccessToken);
FileInformation info = File.OpenBinaryDirect(context, "/" + _fileVersion.Url); //throws 401
//leading slash required otherwise ArgumentOutOfRangeException
I have to be able to access the older file versions with my c# code -- I don't have a viable app without that ability -- any help urgently needed and greatly appreciated!Thank you SO much (Can't wait for the next release)!
For anyone else who lands here, here's the code I ended up using:
// VersionAccessUser and VersionAccessPassword are stored in web.config
// web.Url is loaded via the clientContext
// myVersion is the FileVersion I got from the file's Versions.GetById() method
// probably a lot of ways to get hostUrl, it just needs to be https://yourdomain.sharepoint.com/
// - I'm running my app from a subweb
// I had trouble following the links to get the full MsOnlineClaimsHelper code
// (the one on msdn.com was missing RequestBodyWriter, WSTrustFeb2005ContractClient,
// and IWSTrustFeb2005Contract
// so I've included the code I used here.
string myVersionFullUrl = string.Format("{0}/{1}", web.Url, myVersion.Url);
string userName = WebConfigurationManager.AppSettings.Get("VersionAccessUser");
string strPassword = WebConfigurationManager.AppSettings.Get("VersionAccessPassword");
string hostUrl = Regex.Replace(web.Url, "([^/]+//[^/]+/).*", "$1");
MsOnlineClaimsHelper claimsHelper = new MsOnlineClaimsHelper(hostUrl, userName, strPassword);
var client = new WebClient();
client.Headers["Accept"] = "/";
client.Headers.Add(HttpRequestHeader.UserAgent, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705;)");
client.Headers.Add(HttpRequestHeader.Cookie, claimsHelper.CookieContainer.GetCookieHeader(new Uri(hostUrl)));
var document = client.DownloadString(myVersionFullUrl);
// These classes are needed to download old versions of files (see: http://social.msdn.microsoft.com/Forums/en-US/7746d857-d351-49cc-b2f0-496663239e02/how-to-download-a-file-version-from-office-365-using-csom?forum=sharepointdevelopment)
// I cobbled this file from http://social.technet.microsoft.com/Forums/msonline/en-US/4e304493-7ddd-4721-8f46-cb7875078f8b/problem-logging-in-to-office-365-sharepoint-online-from-webole-hosted-in-the-cloud?forum=onlineservicessharepoint
// and http://fredericloud.com/2011/01/11/connecting-to-sharepoint-with-claims-authentication/
using Microsoft.IdentityModel.Protocols.WSTrust;
using Microsoft.SharePoint.Client;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Security;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.Text;
using System.Web;
using System.Xml;
using System.Xml.Linq;
namespace DPSiDoxAppWeb.Helpers
/// <summary>
/// Create a new contract to use for issue claims for the SharePoint requests
/// </summary>
[ServiceContract]
public interface IWSTrustFeb2005Contract
[OperationContract(ProtectionLevel = ProtectionLevel.EncryptAndSign,
Action = "http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue",
ReplyAction = "http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue",
AsyncPattern = true)]
IAsyncResult BeginIssue(Message request, AsyncCallback callback, object state);
Message EndIssue(IAsyncResult asyncResult);
/// <summary>
/// Implement the client contract for the new type
/// </summary>
public class WSTrustFeb2005ContractClient : ClientBase<IWSTrustFeb2005Contract>, IWSTrustFeb2005Contract
public WSTrustFeb2005ContractClient(Binding binding, EndpointAddress remoteAddress)
: base(binding, remoteAddress)
public IAsyncResult BeginIssue(Message request, AsyncCallback callback, object state)
return Channel.BeginIssue(request, callback, state);
public Message EndIssue(IAsyncResult asyncResult)
return Channel.EndIssue(asyncResult);
/// <summary>
/// Create a class that will serialize the token into the request
/// </summary>
class RequestBodyWriter : BodyWriter
readonly WSTrustRequestSerializer _serializer;
readonly RequestSecurityToken _rst;
/// <summary>
/// Constructs the Body Writer.
/// </summary>
/// <param name="serializer">Serializer to use for serializing the rst.</param>
/// <param name="rst">The RequestSecurityToken object to be serialized to the outgoing Message.</param>
public RequestBodyWriter(WSTrustRequestSerializer serializer, RequestSecurityToken rst)
: base(false)
if (serializer == null)
throw new ArgumentNullException("serializer");
_serializer = serializer;
_rst = rst;
/// <summary>
/// Override of the base class method. Serializes the rst to the outgoing stream.
/// </summary>
/// <param name="writer">Writer to which the rst should be written.</param>
protected override void OnWriteBodyContents(XmlDictionaryWriter writer)
_serializer.WriteXml(_rst, writer, new WSTrustSerializationContext());
public class MsOnlineClaimsHelper
#region Properties
readonly string _username;
readonly string _password;
readonly bool _useRtfa;
readonly Uri _host;
CookieContainer _cachedCookieContainer = null;
DateTime _expires = DateTime.MinValue;
#endregion
#region Constructors
public MsOnlineClaimsHelper(string host, string username, string password)
: this(new Uri(host), username, password)
public MsOnlineClaimsHelper(Uri host, string username, string password)
_host = host;
_username = username;
_password = password;
_useRtfa = true;
public MsOnlineClaimsHelper(Uri host, string username, string password, bool useRtfa)
_host = host;
_username = username;
_password = password;
_useRtfa = useRtfa;
#endregion
#region Constants
public const string office365STS = "https://login.microsoftonline.com/extSTS.srf";
public const string office365Login = "https://login.microsoftonline.com/login.srf";
public const string office365Metadata = "https://nexus.microsoftonline-p.com/federationmetadata/2007-06/federationmetadata.xml";
public const string wsse = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
public const string wsu = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
private const string userAgent = "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)";
#endregion
class MsoCookies
public string FedAuth { get; set; }
public string rtFa { get; set; }
public DateTime Expires { get; set; }
public Uri Host { get; set; }
// Method used to add cookies to CSOM
public void clientContext_ExecutingWebRequest(object sender, WebRequestEventArgs e)
e.WebRequestExecutor.WebRequest.CookieContainer = getCookieContainer();
//e.WebRequestExecutor.WebRequest.UserAgent = userAgent;
// Creates or loads cached cookie container
CookieContainer getCookieContainer()
if (_cachedCookieContainer == null || DateTime.Now > _expires)
// Get the SAML tokens from SPO STS (via MSO STS) using fed auth passive approach
MsoCookies cookies = getSamlToken();
if (cookies != null && !string.IsNullOrEmpty(cookies.FedAuth))
// Create cookie collection with the SAML token
_expires = cookies.Expires;
CookieContainer cc = new CookieContainer();
// Set the FedAuth cookie
Cookie samlAuth = new Cookie("FedAuth", cookies.FedAuth)
Expires = cookies.Expires,
Path = "/",
Secure = cookies.Host.Scheme == "https",
HttpOnly = true,
Domain = cookies.Host.Host
cc.Add(samlAuth);
if (_useRtfa)
// Set the rtFA (sign-out) cookie, added march 2011
Cookie rtFa = new Cookie("rtFA", cookies.rtFa)
Expires = cookies.Expires,
Path = "/",
Secure = cookies.Host.Scheme == "https",
HttpOnly = true,
Domain = cookies.Host.Host
cc.Add(rtFa);
_cachedCookieContainer = cc;
return cc;
return null;
return _cachedCookieContainer;
public CookieContainer CookieContainer
get
if (_cachedCookieContainer == null || DateTime.Now > _expires)
return getCookieContainer();
return _cachedCookieContainer;
private MsoCookies getSamlToken()
MsoCookies ret = new MsoCookies();
try
var sharepointSite = new
Wctx = office365Login,
Wreply = _host.GetLeftPart(UriPartial.Authority) + "/_forms/default.aspx?wa=wsignin1.0"
//get token from STS
string stsResponse = getResponse(office365STS, sharepointSite.Wreply);
// parse the token response
XDocument doc = XDocument.Parse(stsResponse);
// get the security token
var crypt = from result in doc.Descendants()
where result.Name == XName.Get("BinarySecurityToken", wsse)
select result;
// get the token expiration
var expires = from result in doc.Descendants()
where result.Name == XName.Get("Expires", wsu)
select result;
ret.Expires = Convert.ToDateTime(expires.First().Value);
HttpWebRequest request = createRequest(sharepointSite.Wreply);
byte[] data = Encoding.UTF8.GetBytes(crypt.FirstOrDefault().Value);
using (Stream stream = request.GetRequestStream())
stream.Write(data, 0, data.Length);
stream.Close();
using (HttpWebResponse webResponse = request.GetResponse() as HttpWebResponse)
// Handle redirect, added may 2011 for P-subscriptions
if (webResponse.StatusCode == HttpStatusCode.MovedPermanently)
HttpWebRequest request2 = createRequest(webResponse.Headers["Location"]);
using (Stream stream2 = request2.GetRequestStream())
stream2.Write(data, 0, data.Length);
stream2.Close();
using (HttpWebResponse webResponse2 = request2.GetResponse() as HttpWebResponse)
ret.FedAuth = webResponse2.Cookies["FedAuth"].Value;
ret.rtFa = webResponse2.Cookies["rtFa"].Value;
ret.Host = request2.RequestUri;
else
ret.FedAuth = webResponse.Cookies["FedAuth"].Value;
ret.rtFa = webResponse.Cookies["rtFa"].Value;
ret.Host = request.RequestUri;
catch (Exception ex)
return null;
return ret;
static HttpWebRequest createRequest(string url)
HttpWebRequest request = HttpWebRequest.Create(url) as HttpWebRequest;
request.Method = "POST";
request.ContentType = "application/x-www-form-urlencoded";
request.CookieContainer = new CookieContainer();
request.AllowAutoRedirect = false; // Do NOT automatically redirect
request.UserAgent = userAgent;
return request;
private string getResponse(string stsUrl, string realm)
RequestSecurityToken rst = new RequestSecurityToken
RequestType = WSTrustFeb2005Constants.RequestTypes.Issue,
AppliesTo = new EndpointAddress(realm),
KeyType = WSTrustFeb2005Constants.KeyTypes.Bearer,
TokenType = Microsoft.IdentityModel.Tokens.SecurityTokenTypes.Saml11TokenProfile11
WSTrustFeb2005RequestSerializer trustSerializer = new WSTrustFeb2005RequestSerializer();
WSHttpBinding binding = new WSHttpBinding();
binding.Security.Mode = SecurityMode.TransportWithMessageCredential;
binding.Security.Message.ClientCredentialType = MessageCredentialType.UserName;
binding.Security.Message.EstablishSecurityContext = false;
binding.Security.Message.NegotiateServiceCredential = false;
binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.None;
EndpointAddress address = new EndpointAddress(stsUrl);
using (WSTrustFeb2005ContractClient trustClient = new WSTrustFeb2005ContractClient(binding, address))
trustClient.ClientCredentials.UserName.UserName = _username;
trustClient.ClientCredentials.UserName.Password = _password;
Message response = trustClient.EndIssue(
trustClient.BeginIssue(
Message.CreateMessage(
MessageVersion.Default,
WSTrustFeb2005Constants.Actions.Issue,
new RequestBodyWriter(trustSerializer, rst)
null,
null));
trustClient.Close();
using (XmlDictionaryReader reader = response.GetReaderAtBodyContents())
return reader.ReadOuterXml(); -
Error in migrating SharePoint 2010 list fields to Office 365 list [CSOM]
Hi,
I am trying to migrate a SharePoint 2010 list to Office 365. I created a new ListCreationInfo for a new list in O365. But when i am to trying add fields from SP2010 list, its giving me an error after list.update() -
A duplicate field name "fa564e0f-0c70-4ab9-b863-0177e6ddd247" was found.
if (!l.Hidden)
ListCreationInformation creationInfo = new ListCreationInformation();
creationInfo.Title = l.Title;
creationInfo.TemplateType = l.BaseTemplate;
List list = web.Lists.Add(creationInfo);
//Fields in the list
ctxOnPrem.Load(l.Fields);
ctxOnPrem.ExecuteQuery();
foreach (Field f in l.Fields)
list.Fields.AddFieldAsXml(f.SchemaXml, true, AddFieldOptions.DefaultValue); list.Update();
Note- l is the SharePoint 2010 List.Answer given on StackExchange -
http://sharepoint.stackexchange.com/questions/128875/error-in-migrating-sharepoint-2010-list-fields-to-office-365-list-csom/129015#129015
Thanks,
Thomas -
Migrating from office 365 to OSX Server 2.2.1 Mail server.
hi folks,
I am considering setting up an OSX Server v 2.21 and using it as my main mail server at home, and migrating away from office 365, and using the OSX mail server as my main server. I have my own domain name, and i would be the only user of the mail server.
I would be running this on a mac mini i7 with 16 GB ram.
what anti virus / spam applications are there available for the mac mail server?
thanks.The power in your computer is fine. I was just trying to warn you that if any network requests come in the server configuration immediately priorises that higher than interacting with the user sitting that the keyboard. Apps you are using may stutter until the network request has been answered. Of course, if you don't have many network users and with a computer that powerful, it probably won't take the server long enough to answer the network request that you notice any problem.
No webmail portal for mail, and no easy way to add one. Just mail apps using POP, SMTP, etc..
Here's the manual for OS X Server if you're interested:
https://help.apple.com/advancedserveradmin/mac/10.8/ -
Migrate Sharepoint 2013 from office 365 to on premise
The company management decide to move SharePoint 2013 from Office 365 to on premise. Are there any instructions or step to achieve this, or any recommended third party tools? Thanks
Yeei think your best bet is 3rd party tool, their are alot of 3rd parties which support this migration. check the below post.
http://social.technet.microsoft.com/Forums/sharepoint/en-US/d348f3a0-345f-4085-b72f-f51a31659485/migrate-from-sharepoint-online-to-on-premise-in-2013?forum=sharepointgeneral
check this blog as well:
http://blog.hametbenoit.info/Lists/Posts/Post.aspx?ID=369
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog -
Unable to Read Calendar List Items through CAML
Hi All,
* I have created two columns in calendar one Year and other Month.When new event is added in calendar through (Item Added) event receiver I am setting the values to this columns as Name of Month to(February) and Year as(2014) .So that I can fetch the
data easily based on month and year
* Through this Columns Secondly when I try to fetch the data to count number of items of particular month and year using caml query I am getting error as below .
"Error:One or more field types are not installed properly. Go to the list settings page to delete these fields."
*My below caml code is working fine if i applied to custom list,But not to calendar.Can any one help me for what reason I am unable to fetch data
Code
string year="2014";
string month="February";
SPSite mysite = SPContext.Current.Site;
SPWeb myweb = mysite.OpenWeb();
SPList mylist = myweb.Lists["Calendar"];
SPQuery myquery = new SPQuery();
myquery.Query = @"<Where>
<And>
<Eq>
<FieldRef Name='Year'/>
<Value Type='Text'>" + year + @"</Value>
</Eq>
<Eq>
<FieldRef Name='Month' />
<Value Type='Text'>" + month + @"</Value>
</Eq>
</And>
</Where>";
SPListItemCollection totaltiems = mylist.GetItems(myquery);
Label1.Text= "Total Number of Items is "+" "+totaltiems.Count.ToString();
Thanks, Quality Communication Provides Quality Work. http://siddiq-sharepoint2010.blogspot.in/ Siddiqali Mohammad .Hi,
According to your post, my understanding is that you got an error when read calendar list items using CAML.
I created two single line of text columns in the Calendar( Year and Month), then add items in the Calendar to check with your code. The CAML query worked well as below.
string year = "2014";
string month = "February";
using (SPSite oSiteCollection = new SPSite("Your site URL"))
using (SPWeb myweb = oSiteCollection.OpenWeb())
SPList mylist = myweb.Lists["Calendar"];
SPQuery myquery = new SPQuery();
myquery.Query = @"<Where> <And> <Eq> <FieldRef Name='Year'/> <Value Type='text'>" + year
+ "</Value></Eq><Eq>+ "
+ " <FieldRef Name='Month' />+ "
+ " <Value Type='text'>" + month + "</Value>+ "
+ " </Eq> </And></Where>";
SPListItemCollection totaltiems = mylist.GetItems(myquery);
Console.WriteLine( "Total Number of Items is " + " " + totaltiems.Count.ToString());
Console.ReadLine();
Which type of the two columns in your Calendar? Were they text type?
Are you sure the field name(<FieldRef Name='Year'/>,
<FieldRef Name='Month' />) is same as internal name?
We should only use internal name while refrencing columns in CAML query. If you have space In you column , replace it with "_x0020_", such as
News_x0020_Category.
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
How can I download content of wiki pages from Office 365 online Sharepoint site using c#?
How can I download content of wiki pages from Office 365 online Sharepoint site using c#?
Ratnesh[MSFT]Hi,
According to your post, my understanding is that you want to download content of wiki pages on SharePoint Online.
If just for getting the text of the page, I suggest you convert page to PDF file first and then download the PDF file via a Visual Web Part as a Sandboxed solution.
A sample about export HTML to PDF:
http://hamang.net/2008/08/14/html-to-pdf-in-net/
Thanks
Patrick Liang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Patrick Liang
TechNet Community Support -
Can't activate Office 2011 for mac (downloaded from office 365 portal)
Hello All,
I've installed Office 2011 for mac which was downloaded from office 365 Portal. However, during installation process there was not a windows for activation (key or sign in method).
Is there a way to force activation on Office 2011 for mac?
Note: I've deleted office 365 com.microsoft.office.plist but i didn't get a windows for activation.
MacbookPro Version 10.10.2
Regards
JOHi,
If you downloaded Office 2011 for Mac, you may not need a product key to activate it. Office 365 uses a new mechanism that the activation is based on your Office 365 Account instead of a product key.
Anyway, in this forum we mainly discuss questions and feedbacks about Office for Windows, as your question is about Office for Mac, I suggest you post the question in Office for Mac forum:
http://answers.microsoft.com/en-us/mac
I've also noticed this question is actually more related to the activation, you may need to contact the local customer service to get more dedicated assistance:
https://support.microsoft.com/gp/customer-service-phone-numbers/en-us?wa=wsignin1.0
Regards,
Melon Chen
Forum Support
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please click
here -
If we utilize the Cutover method to migrate from on-premise Exchange (2007) to Office 365, which to my understanding will hand over user management/authentication to Office 365 online during the process, is possible to later switch from Office 365 user management
to Active Directory (synced to a future local domain, or even possibly via AD federation single sign-on)? If so, how difficult is this process and is there any documentation available?
Asking this because the organization I'm working for plans to upgrade (re-do actually) its entire infrastructure. There will be a completely brand new domain/AD set up that's totally unrelated to the old one. At the same time, we also plan to migrate
all emails (previously hosted locally on Exchange 2007) to Office 365 and get rid of local exchange. Now because we will set up new domain, we do not want to carry over the older AD to the cloud, hence we will not use the "Staged Migration".
So the plan is to to use "Cutover" migration first, which means all authentications will become Office 365 managed. That's fine for now. But later, after we set up our new domain and AD controller etc, we'd like to have Exchange Online switch back
to syncing with our new on-premise AD. We'd also like to consider the AD Federation Services if it's not too complicated to set up.
Your advice on this would be greatly appreciated!In principle, you cannot sync back from the cloud AD to the on-prem, yet. But you can take advantage of the soft-matching mechanism once you have the new AD in place:
http://support.microsoft.com/kb/2641663
Be careful though, as the moment you turn on Dirsync, all the matching users in the cloud will have their attributes overwritten. A very good idea is to do an 'export' of the cloud AD first, using the WAAD module for PowerShell and the Get-MsolUser cmdlets,
which you can then use to compare or import data in the new on-prem AD. Some links:
http://technet.microsoft.com/en-us/library/hh974317.aspx
http://msdn.microsoft.com/en-us/library/azure/dn194133.aspx -
Opportunistic TLS removed from Office 365?
Team.
I have an open question regarding changes to the mail flow connector for Exchange Online:http://community.office365.com/en-us/f/156/p/343149/929997.aspx#929997
Hello all,
I'm working on a Hybrid 2010 configuration. When modify the connectors in Exchange Online EAC, I noticed that the connectors changes, and opportunistic TLS is gone.
What happened? Can someone please provide some information regarding the TLS changes? Did opportunistic TLS get removed?
I was following these articles:
Configure mail flow using connectors in Office 365
https://technet.microsoft.com/en-us/library/ms.exch.eac.connectorselection(v=exchg.150).aspx
Set up connectors to route mail between Office 365 and your own email servers
https://technet.microsoft.com/en-us/library/dn751020(v=exchg.150).aspx
Any information on theses changes will be appreciated.
-KloudSavvy
I received this response:
Posted by Allen Z. MSFT Support
on
4/11/2015 3:05 AM
Microsoft Support
Suggested Answer
Hi Kloud,
I didn’t find any official documentation about that. The connectors page in
Exchange admin center has just been updated, so we may not have relevant documentation at this point. If I find any, I’ll let you know.
Meanwhile, I suggest you submit your feedback to let our relevant team know that you need an official documentation about the
Opportunistic TLS of new connectors.
Thanks for your understanding.
Best Regards,
Allen
Do you know the answer to this question? Or, are you planning to post something on these changes?
ThanksHi,
What’s your scenario for creating a connector?
I noticed that you are using Exchange 2010-based hybrid deployment. Generally, when configuring a hybrid configuration using the Hybrid Configuration wizard, one of the things it creates is a new receive connector named “Inbound from Office 365” on each
hybrid transport server.
This connector is set to only accept incoming SMTP sessions from a specific set of IP ranges, which are associated with the FOPE service used in Office 365. Please check your receive connector and send connector for Hybrid environment in EAC and share the
configuration information here for further analysis.
Additionally, here is a reference about Hybrid 2010 Configuration for mail flow:
http://www.msexchange.org/articles-tutorials/office-365/exchange-online/using-hybrid-configuration-wizard-exchange-2010-service-pack-2-part2.html
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please
make sure that you completely understand the risk before retrieving any suggestions from the above link.
Regards,
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Winnie Liang
TechNet Community Support -
Synchronize Lotus Domino Directory with Office 365/Exchange Online
I have someone who is asking me to migrate them from a Lotus Domino server to Office 360/Exchange online. However they want to maintain a sync between Lotus Domino Directory and Office 365/Exchange Online. I'm wondering if that is even possible
or would they need to have a regular Active Directory server act as a go between the two. Can anyone provide me some guidance/suggestions?
Vincent SpragueCurious, did you ever get this setup?
Reason I'm asking is I was involved with a large MSO365 migration (15k) from Lotus Notes. We had a separate AD forest just for email Dirsync. We involved a third party to setup the sync and migration between Notes and AD, and coexistence. It was rather complex.
Out of the box, it would have been extremely difficult.
Ace Fekay
MVP, MCT, MCSE 2012, MCITP EA & MCTS Windows 2008/R2, Exchange 2013, 2010 EA & 2007, MCSE & MCSA 2003/2000, MCSA Messaging 2003
Microsoft Certified Trainer
Microsoft MVP - Directory Services
Complete List of Technical Blogs: http://www.delawarecountycomputerconsulting.com/technicalblogs.php
This posting is provided AS-IS with no warranties or guarantees and confers no rights. -
I am developing a search page where displaying users from office 365. I have retrieved all the users using the command Microsoft.SharePoint.Client.UserCollection userCollection = client_Context.Web.SiteUsers;. To retrieve all the property values
for a user i have used this command Microsoft.SharePoint.Client.UserProfiles.PersonProperties userInformation = peopleManager.GetPropertiesFor(oUser.LoginName);
Now my customer wants to show the indication of user currently available in online or not. I don't know whether i will get this value from a property or need to call any other service to check online status.
If anybody have any information please answer my question.Online Presence in SharePoint is provided client side by using whatever instant messaging client the user is using. SharePoint doesn't actually keep track of who is online. Here's an answer to another question that discusses the HTML used to
display presence.
http://stackoverflow.com/questions/637915/adding-presence-indicator-to-a-custom-web-part
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem.
Maybe you are looking for
-
Suddenly itunes stopped loading. I uninstalled it and tried to reinstall it but it wont load saying the Java sript core.dll is not valid. What do i do to fix this? And will i be able to get my downloads back?
-
Love my new Mac Book Pro ! But ???
I've been using IBM and Microsoft Operating systems since 1981. I can't stand what Microsoft has done with trying to make a one size fits all operating system in Windows 8 so I finally bought a MacBook Pro! Most application installations and device
-
Multiple sites created in iWeb '08 / Personal Domains for Each?
If I create more than one site in iWeb, can each site have its own Personal Domain? So far, I have created 2 sites: When I publish the first one, it shows up on the web as http://web.mac.com/myname/nameofmysite/etc (which is fine). But I would like f
-
I'm not able to edit the old ID I'm no longer using.
When I try to update the iMovie app in the Mac App Store, it keep pre-filling the old user ID, and it is not editable. I've change all the data under system preference, but still facing the same problem, I don't know what's the password for that ID.
-
How do I get document from icloud in the Pages app to sync to my ipad?
Ok, so I get the part about not having to sign in to icloud on an ios device, but that still doesn't explain why documents that I have stored in the icloud, itunes, and on my iphone are not automatically syncing to my ipad. When I try to open the Pag