Comments (2)
@derekfinlinson I ran into your second issue during my testing. It seems that the access token needs to have an actual user context (i.e. not an application user) in order to successfully render the reports. This is probably because of some internal AD calls that the SSRS servers do. The downside, of course, is that you have to get an access token with a username/password which is less secure than other OAuth flows.
The Client ID that's hard-coded is actually the same one used by the Plugin Registration Tool, so it was created by Microsoft and lives in their AD tenant. It's fairly unlikely that it will ever change/be disabled. Is that why you would prefer to use your own app registration?
I could probably add it as a custom "override" parameter on the plugin registration. If it's provided, use it...otherwise default to the one from the Plugin Registration Tool.
With that said, I'm not sure why you're getting a 401 when using your own Client ID. One thing to check would be if you granted admin consent on the API Permissions tab of the app registration. If I remember right that is necessary since the user doesn't get the popup asking them to consent (as you would in a traditional implicit OAuth flow).
from xrm.reportscheduler.
Thanks @bguidinger that all makes sense. I was concerned something may happen to the client id but since it's from MS i'm sure it's safe to use.
from xrm.reportscheduler.
Related Issues (20)
- How to Pass Parameters HOT 5
- Import Report Renderer Custom renderer does not work HOT 1
- OpenAPI File HOT 1
- Connector Definition
- Parameters for Flow
- PDF Report Not Changing Values HOT 4
- Adding a rendered report to Timeline HOT 2
- Report NOT render correctly with new filter condition HOT 1
- Using Flow - When Record Selected HOT 1
- Plugin Execution Error HOT 2
- Plugin Execution Exception - Authentication HOT 6
- Custom Action Execution Exception - Authentication Problem HOT 3
- Import API step? HOT 1
- Operation failed (400), see response below HOT 2
- Resource not found for the segment 'Microsoft.Dynamics.CRM.bg_Render' HOT 1
- Action 'Render_Report' failed HOT 1
- Report Language error HOT 1
- (400) Bad Request starting on 2/22 HOT 7
- Authentication Issue in Newly created Instances HOT 1
- Something went wrong: The remote server returned an error: (400) Bad Request HOT 2
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 xrm.reportscheduler.