How to import data from SQL Azure to O365 outlook Calendar - outlook

Any advice is appreciated.
I am trying to import a list of user data from Azure SQL to Outlook Calendar.
I know that I can do it in PowerShell. But, looking if there is other options other than powershell.
Many Thanks,
serenity

Option 1 :
You could use Logic App / Power Automate (Formerly called Microsoft Flow)
The below connector will get the row from the SQL Server :
https://learn.microsoft.com/en-us/connectors/sql/#get-rows-v2-action-aggregation-transformation-parameter-detail
You could iterate through each row using the for each (in logic app) or Apply to each ( in power automate)
Create a calendar event accordingly using the Create event connector
Option 2 :
If you would like to provide an UI where in User will have to go ahead trigger for themselves - you could use MS Powerapps - which also has the related connectors and the actions are done under the user
Option 3 :
You could expose your server data over Rest API and consume the same in your application.
For instance, you could use Skyvia Connect for the same. In the same application you could make use of the Outlook APIs to create/manager the calendar events.

Related

Is there equivalent of Power Apps Approvals connector in Logic Apps?

I am trying to create a Microsoft Teams Approval workflow using Logic Apps but the Approvals connector is not available there. Is there either equivalent or different way to create such MS Teams workflow using Logic Apps?
Currently, Approvals connector is not available for flow creations using Logic Apps. You can raise User Voice here.

Microsoft Dynamics 365 bulk update/import via Microsoft Flow

Is there a way to perform a bulk update from an CSV file into Dynamics 365 via Microsoft Flow?
I have been looking at the following capability that was supposed to be released (September 2019), but could find the "Batch" action anywhere under common data service:
Automated flows support batch operations in Common Data Service
Release notes:
What's new and planned for Microsoft Flow
However, I was hoping there is an alternative that could even possibly leverage some bulk update task in the mean time.
The requirement is that I would like to perform a bulk update of records once a day, updating/inserting as needed.
ETL job for Dynamics 365 is huge deal, we have third party providers like Kingswaysoft for SSIS, Scribe, Cozyroc, etc to furnish the necessary connector versions along with rapidly changing CRM endpoints. They support batch operations, multi threading using RESTful web api as well.
Pro developers will do console app & do task schedulers for the same ETL job. Now we want to do the same in MS Flow (Power Automate), surprisingly the links you shared were removed for the trace of those terminologies. Impossible?
We can do read the CSV file & iterate the rows, then transform the values for the datatypes like currency, picklist (optionset), lookup, and finally update/create in Dynamics 365 as per our need.
Microsoft Flow: CSV Integration with Dynamics 365 (Example)
Yes, this is not batch operation, but CRM REST web api endpoint supports batch operation, I know to use it only using C# and JavaScript :)

How to expose OData feeds using Power BI?

I currently have internal users using the inbuilt OData feed exposed by Dynamics 365 Online. I would like expose a portion of the feed to anonymous users, based on the results of a predefined query, e.g. all contracts created more than one year ago, and only particular columns.
I was hoping Power BI Online could be configured to act as an intermediary and expose OData feeds based off queries.
Is this possible? Or does Power BI Online only consume data?
No it’s not possible. Dynamics CRM feed need authentication to show entitled data. PowerBI cannot generate feeds just consumption for reporting & data visualizations.
Either you can develop your own open API in which some service account can be used to impersonate for accessing filtered Dynamics CRM dataset, PowerBI can consume that API.
Or some SQL/Exported excel file in onedrive can be used as data source.

Generate report from Microsoft Application Insights data

Currently we use Microsoft Application Insights for performance tracking and it worked very well and we could easily grab the report/chart on Azure portal, the problem is that the application we are monitoring is for one of our clients and we don't want to share the Azure portal with them.
I know there is an AI API which could be used to grab data and do whatever we want, but is there any easy way to share AI data with client without letting them log into the AI portal in AZure?
Thanks.
Read-only Power BI dashboard may be the good option here. The steps for couple ways of achieving this integration are here. However, you may go even simpler route:
use an Export button in Analytics UI of Application Insights resource and choose "Power BI (M query)" as a target;
paste this query as a new data source in Power BI (of type "Blank Query");
authenticate to AI backend (that's the important part of making this Dashboard read-only, so no one can change the query to extract another data under the same account);
create visualization;
Another way entirely is to fork subset of the data into customer's AI Resource (AI SDK supports sending data over into several IKeys if necessary).
You could also use the API Key feature of application insights, and generate a read-only api key, and use the application insights REST API features to build a custom solution to do the queries and generate reports. this would let anyone with that API key see any telemetry in your app though.

PowerApps Common Data Service (CDS) 2.0 connector doesn't work for a Dynamics 365 CE instance

Hopefully, someone can straight up my PowerApps connectors understanding. Apparently, I have 3 connection options.
Common data service - this connection type only allows me to connect to CDS 1.0 databases, but I want to connect to an existing D365 v9 instance.
Common data service (experimental) - this connection type asked me for a D365 v9 instance ID, but everything is grey out after the step, i.e. it didn't show me any entity after connecting successfully.
D365 data source - this one works but I was told MS has stopped working on this connector. Also, I will have to update the connection after deployment to a different environment manually.
What is the best practice if I want to use a CDS connector? Or I will be stuck with the old D365 connector for now?
Thanks.
==11/1/2018 update==
I have a better understanding of my situation now. Every Dynamics 365 CE instance should have a PowerApp environment automatically, but one of my D365CE instances doesn't. I am suspecting it is because the D365CE instance is still version 8.2.
My question above is because I created an empty PowerApp environment and tried to connect it to the D365CE instance (v8.2). I will give you guys another update after I upgrade the instance to v9.
==11/30/2018 update==
Confirmed. By upgrading a D365CE instance from v8.2 to v9.0, the Power Platform generates an environment automatically and linked it to the D365CE/CDS.
Here's a breakdown of the three connectors you're looking at :
Common Data Service - this connector actually supports both versions of CDS, but it will be dependent based on the environment that you're in. So if you're in an environment that has a CDS1.0 database, it will connect by default to that environment. If you have a CDS2.0 database, it will connect by default to that environment.
Experimental Connector - this is similar to the previous connector, but it includes experimental features in development by our team, and isn't recommended for production use. Generally you should only be using this connector if there is a specific feature we announce in the experimental connector you wish you use.
Dynamics 365 Connector - this is similar to the base CDS connector, however it can only connect to CDS2.0 environments. It also has the ability to connect across environments. So you can be in Env1, but connect to a database in Env2. The normal CDS connector will only connect to the database within the environment you are building your app in.
Which one should you use? The Common Data Service connector is going to be your best option, it's where the most improvements are being released at the moment, and is designed to work best with PowerApps and Flow.
To connect to your Dynamics 365 environment, you'll want to make sure you start from web.powerapps.com and select that environment from the drop down in the top right, if you can't find your Dynamics 365 V9 environment - make sure you have system customizer permissions - if you do and you still can't see it, it may be an issue on our end. You can send me a message with your Dynamics org URL and we can check it for you.
Once you can select it from the environment drop down, you can then create a new app and use the Common Data Service connector, and it will connect directly to your Dynamics 365 data.
Hope this helps,
Clay.
I don't have much experience with CDS 1.0 in the Power Platform. I can share some insights on my experience with Microsoft Flow / Logic Apps, CDS 2.0, and Data Integration. So I hopes this helps add another perspective to this question too.
What is your goal in using Common Data Service? Just to pull Dynamics 365 CE data into it?
This recent Product Team Blog could be useful here if so.
Some initial feedback, if the main goal is to connect to a Dynamics 365 CE instance, consider using the Dynamics 365 Connector through Microsoft Flow. You can create a small Flow at https://flow.microsoft.com/ with a 2 step process like mine below. An event takes place in Dynamics, like creating an account. The event and it's data is captured and in used in a response process, like sending an email alert. In this case the alert is sent to the signed in users email.
From a developer standpoint you can also use the Xrm SDK and Web API to collect data and do some data processing as well in C# or JavaScript respectively too. This is more involved, but provides a greater amount of control around the data you're working with. There's a great intro to
Lastly you can spin up a PowerApp to surface your data as well with some pre build templates https://create.powerapps.com/.
Start with your Data and create a Dynamics 365 app in a phone layout.
Choose your organization and table.
After the app creates, hit play to run it.
Search for an account
It turned out the problem is not with the connectors but with PowerApp environments. By upgrading a D365CE instance from v8.2 to v9.0, the Power Platform generates an environment automatically and linked it to the D365CE/CDS. So, it should just work for all v9+ instances.

Resources