You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.
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!
The text was updated successfully, but these errors were encountered:
swake457
changed the title
There is no exported Excel file
Numerous errors on last command. Also no resulting Excel file.
May 3, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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!
The text was updated successfully, but these errors were encountered: