-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues when running script #7
Comments
Hi @smjb90, Thanks for reaching out! It appears that Would you also mind checking your configuration file to see what value is set in |
Thanks. When running Get-ADForest).ForestMode i get the returned value. @{
} Below is the name keys forest-name |
@CalebAlbers Any more thoughts on this? |
I know nothing about powershell but I have a feeling it is because it is not getting the functional level of 2016 domains properly, it works on all others. |
Had the same issue, fixed by a small edit to the file "ActiveDirectory.flexasset", line 19 (section AD Level) From: Options: 2000, 2003, 2008, , 2008 R2, 2012, 2012 R2 |
I'm getting the same on a 2012 R2 and 2016 domains. Have not tested others
I used the Initialize-ActiveDirectoryFlexAsset.ps1 script with the latest ActiveDirectory.flexasset file in the same folder to create the Active Directory asset EDIT: I tried @zebs1's workaround but made no difference. I'm also getting the same error with the File Shares script |
Did you guys figure out a solution for this? I am getting the same exact error. |
@CalebAlbers - This issue is still Open almost 4 years later. Why no solution? |
@coltonmorrisonCHR I'm not an IT Glue employee - I built this in my free time several jobs ago and no longer work in the MSP industry or with Windows/PowerShell. My guess would be that the call to retrieve AD functional level doesn't work as expected, I'd suggest starting there for debugging. |
Sorry, @CalebAlbers, my mistake. |
ITGlue & PowerShell Noob... Please Help!
Hey Guys,
Please see the below; Im not sure whats wrong an i'm now going round in circles.
Duplicate keys '' are not allowed in hash literals.
At C:\Users\Administrator\desktop\ActiveDirectory.ps1:200 char:21
Invoke-RestMethod : {"errors":[{"status":"forbidden","title":"Cannot index flexible assets without providing a flexible asset type ID filter","source":{"pointer":null}}]}
At C:\Program Files\WindowsPowerShell\Modules\ITGlueAPI\Resources\FlexibleAssets.ps1:67 char:20
The text was updated successfully, but these errors were encountered: