Comments (6)
I have a lot of reports, which one are you refering to?
from sccm-zone.com.
Oh sorry, it's the "CB Configuration Baseline Compliance by Configuration Item with Values" one.
However, a colleague and I found the issue, we believe. The ID's in the error correspond with 'AdminIDs' for Administrative users in SCCM. And the issue only happens to users who are members of multiple groups and/or specified explicitly in the administrative users section in the console.
In my case, my user account was explicitly defined as an admin AND I am a member of another group which is also defined as an admin in the console. The error is actually coming from the definition of 'UserSIDs'.
My user's UserTokenSIDs as it passes into 'dbo.fn_rbac_GetAdminIDsfromUserSIDs' results in two ID's coming back from the function. But instead of Microsoft listing them as 2 separate values, they concatenate them into one string joined with a comma.
Workaround:
Remove the duplicate Administrative User entry.
Fix?:
My colleague wrote some simple T-SQL to automatically split the string (if it needs to), and select the first ID in the newly created array. This is, more than likely, not ideal as it's not checking for the highest permissions levels.
from sccm-zone.com.
Hmm, I will look for a workaround, thanks for reporting this
from sccm-zone.com.
No problem, when I get into work, I will post the extra code that got it working.
from sccm-zone.com.
For now the simple workaround is to uncomment this line
--DECLARE @UserSIDs AS NVARCHAR(250) = 1;
If it does not work you might need to replace the value with 'Disabled'
NOTE: This will disable the report security!
from sccm-zone.com.
Implemented workaround, upgraded report template and other optimisations.
Released v4.0
from sccm-zone.com.
Related Issues (20)
- Clean-CMClientCache.ps1 commit 3f596a9 on Nov 30, 2018 : errors when multiple cache elements for the same package HOT 3
- How to set up "usp_PivotWithDynamicColumns"? HOT 2
- [SW SQL Server Products] - Report Error HOT 17
- [Clean-CMClientCache.ps1] Remove-CCMOrphanedCache Breaks Active Downloads HOT 3
- [Clean-CMClientCache.ps1] Get-CCMCachedApplications Does Not Handle Uninstall Content HOT 3
- Deployment status and report not matching HOT 3
- SQL Server Product and Version Reporting with SCCM HOT 11
- SQL 2019 Reporting HOT 3
- Clean-CMClientCache Not detecting or removing most content. HOT 13
- DE Application Deployments by Computer or User for Collection add TopConsoleUser0 HOT 4
- Error On Line 831 - When No User Has Logged Onto Device HOT 4
- Error content file HWI Extension sql server 2019 HOT 2
- Impossibly Slow HOT 1
- [CB Configuration Baseline Compliance by Company with Values] - Add fields HOT 3
- [SW SQL Server Products] - Show License Keys HOT 40
- [CB Configuration Baseline Compliance by Configuration Item with Values] - Can't import the report into SQL 2014 SSRS instance. HOT 5
- [Clean-CMClientCache.ps1] New version skips cache items HOT 9
- [SW SQL Server Products] - Show CPU Core count HOT 5
- [Request] Custom Folders and User Profile(s) Size 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 sccm-zone.com.