Comments (16)
hello.
should we use Add-SPProfileSyncConnection? Is It Supported?
from sharepointdsc.
Not supported outside of SharePoint Online as far as I'm aware, so I wanna try to find a way to get around it, we might need to use the server side object model in script to fill this functionality out right. Happy to hear your ideas.
from sharepointdsc.
Last I heard there was no supported way of creating sync connections.
I scripted it earlier on this year but I am under the impression we didn't use the script because of that.
So, question to MS: is there a supported way of creating sync connections? :)
On 24 Nov 2015, at 10:45 PM, Brian Farnhill [email protected] wrote:
Not supported outside of SharePoint Online as far as I'm aware, so I wanna try to find a way to get around it, we might need to use the server side object model in script to fill this functionality out right. Happy to hear your ideas.
—
Reply to this email directly or view it on GitHub.
from sharepointdsc.
I can't find the script I've written for that, but I am pretty sure I used this method here (Uses cnnMgr.AddActiveDirectoryConnection)
from sharepointdsc.
@camiloborges you are correct, the blog post you have there looks like the way to do it. At a quick glance all of the API calls there are public methods, so we are fine from a support perspective on this one. I'll confirm this to be sure and let you know if there are any issues but to the best of my knowledge we'll be fine.
from sharepointdsc.
hey @BrianFarnhill please mark this as in progress
from sharepointdsc.
All yours @camiloborges
from sharepointdsc.
Hello.
Updated schema:
[ClassVersion("1.0.0.0"), FriendlyName("xSPUserProfileSyncConnection")]
class MSFT_xSPUserProfileSyncConnection : OMI_BaseResource
{
[Key] string Name;
[Required] string Forest;
[Required] string UserProfileService;
[Required, EmbeddedInstance("MSFT_Credential")] String Credentials;
[Write, EmbeddedInstance("MSFT_Credential")] String InstallAccount;
[Required] string IncludedOUs[];
[write] string ExcludedOUs[];
[write] string Server;
[Write] boolean UseSSL;
[Write] boolean Force;
[Write] string ConnectionType ;
};
Force is just so resource can delete and recreate connection in case the forest is different.
from sharepointdsc.
@camiloborges Can we be more specific on the Credentials property to be something like "ConnectionCredential" - that way its clear what its there for
from sharepointdsc.
I can certainly do that. I tried to shorten parameters name but some do need to be a bit more specific
from sharepointdsc.
Lets go for longer names over ambiguous any time it comes up - thanks bud
from sharepointdsc.
any request on the other attributes?
from sharepointdsc.
Should connection type be a fixed list of options there? The others seem obvious enough I think.
from sharepointdsc.
good point @BrianFarnhill . it should then be
[ClassVersion("1.0.0.0"), FriendlyName("xSPUserProfileSyncConnection")]
class MSFT_xSPUserProfileSyncConnection : OMI_BaseResource
{
[Key] string Name;
[Required] string Forest;
[Required] string UserProfileService;
[Required, EmbeddedInstance("MSFT_Credential")] String ConnectionCredentials;
[Write, EmbeddedInstance("MSFT_Credential")] String InstallAccount;
[Required] string IncludedOUs[];
[write] string ExcludedOUs[];
[write] string Server;
[Write] boolean UseSSL;
[Write] boolean Force;
[Write, ValueMap{"ActiveDirectory","BCS"}, Values{"ActiveDirectory","BCS"}] string ConnectionType ;
};
BCS might have to be changed to something else. I won't implement it right now, but I will makesure the ValueMap is correct.
from sharepointdsc.
Put the BCS option in and have it throw an exception to say its not implemented yet. Add an issue here to state that it doesn't work and I'll tag it as technical debt for us to come back to later.
from sharepointdsc.
Released in v0.10 - closing this issue
from sharepointdsc.
Related Issues (20)
- Pass empty string to parameter HOT 1
- [SPSearchIndexPartition] Regression introduced with with the fix for issue #1376
- [SPProductUpdate] Resource does not support SPSE yet
- [SPProductUpdate] Resource pauses the Search Service
- [SPInstallPrereqs] Multiple instances of the VC++ Redist causes issues
- [SPShellAdmins] Get-SPDatabase cmdlet cannot be found
- [SPConfigWizard] Add possibility to temporarily dismount content databases during config wizard
- SPHybridConfig: New resource proposal HOT 1
- SPTrustedRootAuthority - Error while adding Trusted Root Authority via CertificateThumbprint
- SPInstallPrereqs: sqlncli.msi is no longer required after November 2021 CU HOT 2
- SPPublishServiceApplication - Set-TargetResource does not work
- Issue while exporting the site configurations with certificate thumbprint HOT 2
- [Export] Export doesn't work in SPSE
- [SPFarm] Import-Module SharePointServer causes exception in SharePoint Subscription 23H1 HOT 3
- SPCertificateSettings: Unable to set contacts when previously blank
- Intro and SPSite Enhancement
- DSC Resource HOT 1
- Least-privileged security model enabled after Oct 22 CU
- Visio Graphics Service Application
- SPFarm: Add SPServerCertificatePipeBind Support for the Central Administration with SPSE HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sharepointdsc.