Comments (8)
I just checked in a fix to the typo you found. Let me know if that helps.
from mimpowershellconnectors.
Finally got the schema to load. I turned on detailed logging and noticed there was an error in the schema script. The whole script must be parsed and loaded into memory before execution can occur.
Runtime exception occurred System.Management.Automation.ParseException: At C:\Windows\TEMP\mbgwd3ci.ps1:2 char:55
- [Syste
and
Runtime exception occurred System.Management.Automation.ParseException: At C:\Windows\TEMP\otpqui3o.ps1:2 char:106
- ... o
Since there were two different errors I was sure it was that param function however was unsure of the proper syntax. Since the xADSyncPSConnectorModule.psm1 seemed to load without errors I looked to see if there was another example of what the syntax should be and found it should look like this:
param(
[System.Collections.ObjectModel.KeyedCollection[[string], [Microsoft.MetadirectoryServices.ConfigParameter]]]
$ConfigurationParameters,
[PSCredential]
$PSCredential
)
from mimpowershellconnectors.
Fixed a few more syntax errors in the Import script but still cannot create the new management agent. I get all the way to the last screen and the get an error. This is what is displayed in the Application log:
The server encountered an unexpected error while performing an operation for the client.
"BAIL: MMS(8780): ..\cdext.cpp(416): 0x80070057 (The parameter is incorrect.)
BAIL: MMS(8780): ..\xstack.cpp(405): 0x80070057 (The parameter is incorrect.)
BAIL: MMS(8780): ..\xparse.cpp(436): 0x80070057 (The parameter is incorrect.)
BAIL: MMS(8780): ..\schema.cpp(1619): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
BAIL: MMS(8780): ..\compmap.cpp(155): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
BAIL: MMS(8780): ..\compmap.cpp(453): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
BAIL: MMS(8780): ..\xsimple.cpp(842): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
BAIL: MMS(8780): ..\xstack.cpp(540): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
BAIL: MMS(8780): ..\xparse.cpp(544): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
BAIL: MMS(8780): ..\xsimple.cpp(334): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
BAIL: MMS(8780): ..\compmap.cpp(344): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
BAIL: MMS(8780): ..\mastate.cpp(10654): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
ERR_: MMS(8780): ..\mastate.cpp(13153): Error creating MA component mappings object: 0x80230914
BAIL: MMS(8780): ..\mastate.cpp(13173): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
BAIL: MMS(8780): ..\mastate.cpp(1724): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
BAIL: MMS(8780): ..\server.cpp(1078): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
Forefront Identity Manager 4.3.2195.0"
from mimpowershellconnectors.
Fixed my own issue here... appears that the PowerShell 4.3.1082.0 is missing the Global Parameters section at the bottom of the list: File name, Delimeter and Encoding. I installed the 1.1.117.0 version and now I have my new connector!
from mimpowershellconnectors.
Another thing I just noticed is that the SampleInputFile.txt must have at least 2 rows, the header and another sample row under that for the schema to import.
from mimpowershellconnectors.
Any updates on this issue? I'm still having the same problem!
from mimpowershellconnectors.
Fixed by adjusting the schema as suggested! Thanks
param(
[System.Collections.ObjectModel.KeyedCollection[[string], [Microsoft.MetadirectoryServices.ConfigParameter]]]
$ConfigurationParameters,
[PSCredential]
$PSCredential
)
from mimpowershellconnectors.
closing as the updated script with typo fixed was checked in by Brian.
from mimpowershellconnectors.
Related Issues (20)
- All users filtred when importing HOT 3
- Lync Connector HOT 6
- Lync Connector questions HOT 1
- LyncConnector Export script bug HOT 1
- Skype to AD Attribute Mapping HOT 2
- MarkDown type in Wiki HOT 1
- Illegal LDAP characters not escaped HOT 3
- Cannot perform Multi-step run profile HOT 9
- Question about logging HOT 4
- No good way of emptying/clearing an attribute value HOT 4
- Dev to Prod Migratoin Issues - Partition and Containers HOT 1
- Password Extension Script is not properly invoked unless certain other scripts are specified
- Prefered DC not set when exporting policies.
- MIM Powershell MA Error Report
- Import fails when an included OU has been removed from AD HOT 3
- Home Drive Provisioning HOT 1
- missing-dn while running Full Import HOT 3
- Skype Export sometimes hangs and requires miiserver.exe to be forced killed
- Error when running Exchange Scripts
- This repo is missing important files
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 mimpowershellconnectors.