Connectivity between Control-M and Power BI - connection

Does any one have any idea about connectivity between Control-M and Power BI ?
I want to achive event based scheduling for Power BI Reports(Paginated Reports).
We are trying to implement even based scheduling in our project. Currenly , In existing architechture they are using control M for scheduling the crystal reports. Is there any other way ? Can we integrate Control M and Powerbi reports using some API ?
Thanks in advance.

Yes, you can use the PowerBI API to refresh data up to 8 times a day on Pro or 48 times a day on Premium. You could also use direct query to provide the report data on the fly.
POST https://api.powerbi.com/v1.0/myorg/groups/{group_id}/datasets/{dataset_id}/refreshes
Once the refresh completes you can mail out a link to the report and your users will get the latest.

Control-M supports CLI, API, the whole shooting match. There is a module (part of the standard Control-M package) called Application Integrator (confusingly referred to as AI) which allows people to create bespoke integrations and (if they wish) share them via a community hub. A BMC staff member has created an integration for Power BI and it can be downloaded here - https://communities.bmc.com/docs/DOC-125437 with a guide here (including the author's email - https://communities.bmc.com/docs/DOC-125436

Related

Power BI reports in Delphi

I am new to Power BI and would like to be able to display pre-created Power BI reports in Delphi. I searched on the internet using Google but found little information for Delphi developers, just general information on Power BI. I am using Delphi 10.2.3.
To embed a report, you must authenticate yourself and acquire an access token. It will be used in further calls to Power BI REST API.
Normally, this access token is acquired using ADAL, but I have doubts you will find one for Delphi. You may take a look at this question to see how you can do this using raw web requests in Delphi: How to connect a Delphi desktop app to a third-party Dynamics 365 app using OAuth 2.0?
When you acquired an access token, get the report's embedUrl using Get Report In Group API.
Embedding of Power BI reports is basically loading them in a in a web page. This demo shows you how to embed the report in a WPF application. You can do the same in Delphi. Basically you need to copy powerbi.js, ReportLoader.js and ReportLoader.html files from the demo to your project. The first file is the Power BI client. The second is JavaScript code, which you need to run to load the report in the third one. From your code you need to navigate to ReportLoader.html file and run LoadEmbeddedObject JavaScript function from ReportLoader.js, passing to it the embedUrl of your report, your access token and the Id of the report to be embedded. I can't tell you how to call this function in Delphi, but the WPF demo code may give you some ideas.
Good luck!

How to connectt Skype for Business Online data from Microsoft Graph Explorer

I am trying to start collecting Skype for Business Online data using Microsoft Graph Explorer in order to do my own reporting. Eventually, my goal is to automate this process using API calls and write the return data in my own monitoring database.
I opened a O365 trial account and using graph explorer with my global admin account to generate some SfB reports but having no luck:
SfB Business Activity Report
Am I doing something wrong here?
Also, I believe this query is supposed to return a CSV file. Is there a better way to achieve what I am trying to do?
Thanks,
The API you're using is in beta, and (contrary to the published documentation) seems to only work when:
you provide an output format parameter
that output format is JSON
The call you're trying to make will work as follows: GET https://graph.microsoft.com/beta/reports/getSkypeForBusinessActivityUserDetail(period='D7')?$format=application/json
You're not the only one waiting for these APIs to solidify and include more information. Hope this helps!

Can I create alerts on document folders using MS Graph API?

When you view document folders in a SharePoint online site you have the ability to configure email alerts on folders based on when items are added or deleted. Can I do the same thing via the Microsoft Graph API? If this is not possible now, is there any plan to add this to the API in the near future? The only workaround I have been able to come up with involves using the Delta API to poll for changes periodically, but that requires a lot of processing as the Delta API is not very granular.
You do this using webhooks and registering a subscription against the resource you want to monitor.
See Using webhooks to receive service-to-service notifications for details and examples of how this works.

how to get all tasks from outlook with Microsoft Graph or Office 365 REST API?

I am building a web application that needs to fetch all tasks from an organization that uses Outlook Task. Can this be done with Microsoft Graph or Office 365 REST API?
I haven't found any calls in the documentation of either services that would do something similar to that: https://outlook.office.com/api/v2.0/tenant/tasks
Should I find another approach or is it something that is doable?
Outlook Tasks is available in Preview on Microsoft Graph today:
GET /users/{id|userPrincipalName}/outlook/tasks (Graph Explorer example)
I'm afraid I don't have an ETA for when this will be generally available at the moment. According to the Change Log this functionality was added in April so it is still a somewhat recent addition.
This functionality is also available as part of the Office 365 REST API.
If you're looking for something production ready today, you may need to use this API instead. If possible, I would suggest waiting for Graph. Graph is where all future engineering energy will be focused and is the best long-term integration play.

Need clarification on QuickBooks Desktop integration with Sync Manager vs Web Connector

From what I understand, Intuit is no longer allowing proprietary integrations with QuickBooks Desktop editions through the Sync Manager and only allowing apps that are put into the marketplace. Is this really the case? If so, is there a timeline for when they will start allowing this? Also, it seems that the supported objects for desktop editions is way behind those supported for the online edition. Will these be available any time soon (I.e. reports such as balance sheet, profit/loss, budget, etc.)?
I ask because we have been using the web connector for a couple of years now and it is not built for the type of use we need. To be specific, we are a franchising company that has a hosted QB solution for each of our franchises. We then pull data and pass jobs to and from our proprietary POS application through the web connector. We run into all sorts of problems with multiple web connectors being open on the same system trying to connect to different files and a host of other issues. Because of this, we are hoping that a more reliable integration can be developed through the Sync Manager.
From what I understand, Intuit is no longer allowing proprietary integrations with QuickBooks Desktop editions through the Sync Manager and only allowing apps that are put into the marketplace. Is this really the case?
Correct. QBD integration with SM and V3/V2 REST endpoints are not supported.
Apps.com is the mainly the SaaS marketplace ( mainly focused on QBO).
No new integration using QBD V3 can be created.
Also, it seems that the supported objects for desktop editions is way behind those supported for the online edition. Will these be available any time soon (i.e. reports such as balance sheet, profit/loss, budget, etc.)?
V3 QBD APIs are already marked as deprecated. There will not be any development on this.
Ref - https://developer.intuit.com/docs/0025_quickbooksapi/0058_faq#Does_QuickBooks_API_support_QuickBooks_Desktop_and_QuickBooks_Online.3F
Please refer the following thread on similar topic.
Integrating with QB Desktop products
Thanks

Resources