Step by step guidance to deploy Azure Active Directory capabilities such as Conditional Access, Multi Factor Authentication, Self Service Password, and more.
MIT License
173
stars
142
forks
source link
Numerous errors on last command. Also no resulting Excel file. #13
Getting a lot of errors when running Test-ADFS2AADOnPremRPTrustSet -RPXMLFileDirectory "C:\adfs\apps" The first two commands proceed without error very quickly. The CSV files, folder structure and resulting ZIP file are all created. I ran the script on my ADFS 3.0 server directly.
As a suggestion, this powershell module would benefit from the addition of error handling logic to output to an error log file for easier review later on.
Running the third command, the script essentially repeats these sections over and over as errors:
**The property 'TestName' cannot be found on this object. Verify that the property exists and can be set.
At C:\adfs\ADFSAADMigrationUtils.psm1:779 char:9
+ $result.TestName = $function
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : PropertyNotFound
The property 'ADFSObjectType' cannot be found on this object. Verify that the property exists and can be set.
At C:\adfs\ADFSAADMigrationUtils.psm1:780 char:9
+ $result.ADFSObjectType = "Relying Party"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : PropertyNotFound
The property 'ADFSObjectIdentifier' cannot be found on this object. Verify that the property exists and can be set.
At C:\adfs\ADFSAADMigrationUtils.psm1:781 char:9
+ $result.ADFSObjectIdentifier = $ADFSRelyingPartyTrust.Name
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : PropertyNotFound
Test-ADFSRPRuleset : Cannot process argument transformation on parameter 'ResultTypeIfUnknownPattern'. Cannot convert
value "Warning" to type "ResultType". Error: "Unable to match the identifier name Warning to a valid enumerator name.
Specify one of the following enumerator names and try again:
Pass, Fail, NotRun"
At C:\adfs\ADFSAADMigrationUtils.psm1:417 char:37
+ -ResultTypeIfUnknownPattern Warning
+ ~~~~~~~
+ CategoryInfo : InvalidData: (:) [Test-ADFSRPRuleset], ParameterBindingArgumentTransformationException
+ FullyQualifiedErrorId : ParameterArgumentTransformationError,Test-ADFSRPRuleset**
Thanks!
I will continue to run some debug on my own as well, though I'm not a power scripter :-) Once I get past these errors I suspect this script will be exactly what I'm looking for!
Getting a lot of errors when running Test-ADFS2AADOnPremRPTrustSet -RPXMLFileDirectory "C:\adfs\apps" The first two commands proceed without error very quickly. The CSV files, folder structure and resulting ZIP file are all created. I ran the script on my ADFS 3.0 server directly.
As a suggestion, this powershell module would benefit from the addition of error handling logic to output to an error log file for easier review later on.
Running the third command, the script essentially repeats these sections over and over as errors:
Thanks! I will continue to run some debug on my own as well, though I'm not a power scripter :-) Once I get past these errors I suspect this script will be exactly what I'm looking for!