Connecting Visual Studio to a UDE Environment on Power Platform

Dynamics 365 F&O Unified Development Experience – Part 5

Connecting Visual Studio to a UDE Environment on Power Platform

Connect to Dataverse, Environment URL, Finance & Operations assets, and metadata configuration steps

In the previous article of this series, we covered how to prepare the developer machine for UDE by installing Visual Studio 2022 and the required tools.

In this article, we will connect Visual Studio to the developer-enabled UDE environment that we created on Power Platform. In my opinion, this is one of the first steps where the UDE experience really starts to become tangible.

In the classic development VM model, Visual Studio was already available inside the development machine. AOS, metadata, SQL Server, development tools, and most of the supporting components were located on the same machine. With UDE, this structure changes. Visual Studio runs on our local computer, while the Finance & Operations runtime runs in the cloud environment that we created on Power Platform.

For this reason, we need to correctly associate Visual Studio with the right online development environment, use the correct URL, complete the Finance & Operations assets and metadata download process, verify the metadata configuration settings, and make sure that Application Explorer opens properly.

In this article, I will go through this connection process step by step. I will especially focus on topics that can be confusing during the first attempts, such as the Environment URL / Finance and Operations URL distinction, the Connect to Dataverse screen, Auto setup behavior, and the relationship between metadata folders and the local repository structure.

A short preparation before connecting

Before connecting from Visual Studio, it is important to make sure that a few things are ready. If we move to the connection step before completing these checks, it becomes harder to understand whether a later error is caused by permissions, an incorrect URL, a missing extension, or the metadata download process.

It is useful to check the following items before starting:

  • The developer-enabled UDE environment should already be created.
  • The UDE environment should be in Ready state in Power Platform Admin Center.
  • Finance and Operations provisioning should be completed.
  • Platform Tools and Provisioning App installation should be completed.
  • The Developer Tools option should be enabled.
  • Visual Studio 2022 should be installed.
  • The Power Platform Tools for Visual Studio extension should be installed.
  • The user should have the required permissions in the related Dataverse / Power Platform environment.
  • There should be enough free disk space on the local machine for the initial setup and assets download.

For the first setup, it is usually easier not to start with an overly restricted user from a permissions perspective. Later, when moving to the real project structure, roles and security can be made more controlled.


Image-1

Read more

Visual Studio yu Power Platform Üzerindeki UDE Ortamına Bağlama

Dynamics 365 F&O Unified Development Experience – Bölüm 5

Visual Studio’yu Power Platform Üzerindeki UDE Ortamına Bağlama

Connect to Dataverse, Environment URL, Finance & Operations assets ve metadata configuration adımları

Serinin önceki yazısında UDE için geliştirici bilgisayarında Visual Studio 2022 ve gerekli araçların nasıl hazırlanacağını ele almıştık.

Bu yazıda artık Visual Studio’yu Power Platform üzerinde oluşturduğumuz developer-enabled UDE ortamına bağlayacağız. Bana göre bu adım, UDE deneyiminin gerçekten başladığı noktalardan biri.

Klasik development VM modelinde Visual Studio zaten development makinesinin içinde hazırdı. AOS, metadata, SQL Server, development tools ve çoğu yardımcı bileşen aynı makine üzerinde bulunuyordu. UDE modelinde ise bu yapı değişiyor. Visual Studio lokal bilgisayarımızda çalışıyor, Finance & Operations runtime ise Power Platform üzerinde oluşturduğumuz bulut ortamında bulunuyor.

Bu nedenle Visual Studio ile doğru online development ortamını eşleştirmek, doğru URL’yi kullanmak, Finance & Operations assets ve metadata indirme işlemlerini tamamlamak, metadata configuration ayarlarını kontrol etmek ve Application Explorer’ın sağlıklı açıldığını görmek gerekiyor.

Bu yazıda adım adım bu bağlantı sürecini ele alacağım. Özellikle ilk denemelerde kafa karıştıran Environment URL / Finance and Operations URL ayrımı, Connect to Dataverse ekranı, Auto setup davranışı ve metadata klasörlerinin repo yapısıyla ilişkisi üzerinde duracağım.

Bağlantıdan önce kısa hazırlık

Visual Studio’dan bağlantıya geçmeden önce bazı şeylerin hazır olduğundan emin olmak gerekir. Çünkü bu kontroller tamamlanmadan bağlantı adımına geçersek, sonradan alınan hatanın yetkiden mi, URL’den mi, eksik extension’dan mı, yoksa metadata indirme sürecinden mi kaynaklandığını anlamak zorlaşır.

Başlamadan önce aşağıdaki maddeleri kontrol etmek faydalı olur:

  • Developer-enabled UDE ortamı oluşturulmuş olmalı.
  • UDE ortamı Power Platform Admin Center üzerinde Ready durumda olmalı.
  • Finance and Operations provisioning tamamlanmış olmalı.
  • Platform Tools ve Provisioning App kurulumu tamamlanmış olmalı.
  • Developer Tools seçeneği aktif edilmiş olmalı.
  • Visual Studio 2022 kurulmuş olmalı.
  • Power Platform Tools for Visual Studio extension kurulmuş olmalı.
  • Kullanıcı ilgili Dataverse / Power Platform ortamında gerekli yetkilere sahip olmalı.
  • İlk kurulum ve assets indirme için lokal diskte yeterli boş alan bulunmalı.

İlk kurulumlarda mümkünse yetki tarafında fazla daraltılmış bir kullanıcıyla başlamamak işleri kolaylaştırır. Daha sonra gerçek proje düzenine geçerken roller ve güvenlik yapısı daha kontrollü hale getirilebilir.


Resim-1

Read more

Installing Visual Studio 2022 and Preparing the Development Tools

Dynamics 365 F&O Unified Development Experience – Part 4

Installing Visual Studio 2022 and Preparing the Development Tools

Preparing the required tools on the developer machine before connecting to the UDE environment

In the previous articles in this series, we first looked at what UDE is, and then covered how to create a developer-enabled UDE environment through the Power Platform Admin Center interface and with PowerShell.

At this point, we have a UDE environment with Finance & Operations developer tools enabled. However, to develop X++ by using this environment, some tools must be ready on the developer machine.

In the classic development VM model, Visual Studio, metadata, AOS connection, and many other components came preconfigured inside the development machine. In the UDE model, development tools run on the developer’s local computer, while the Finance & Operations runtime is hosted in the cloud.

Therefore, in this article, before connecting directly to the UDE environment, we will focus on how to prepare Visual Studio 2022 and the required components on the developer machine.

In the next article, we will connect Visual Studio to the UDE environment on top of this setup and cover the steps for downloading metadata and Finance & Operations assets.

Why is this step important?

With UDE, the role of the development machine is changing. Instead of a development VM that we connect to through Remote Desktop and where everything is already installed, we now develop through Visual Studio running on our own computer.

In this model, the following items must be installed correctly on the local computer:

  • Visual Studio 2022
  • Required Visual Studio workloads and individual components
  • Power Platform Tools for Visual Studio
  • Required infrastructure for Finance & Operations development tools
  • Microsoft SQL Server Express LocalDB
  • SQL Server Management Studio, if needed
  • Reporting Services Projects extension
  • Sufficient disk space

If these components are missing or installed incorrectly, you may experience issues in Visual Studio with the UDE connection, metadata download, opening Application Explorer, creating models, or running builds.

Read more

Visual Studio 2022 Kurulumu ve Geliştirme Araçlarının Hazırlanması

Dynamics 365 F&O Unified Development Experience – Bölüm 4

Visual Studio 2022 Kurulumu ve Geliştirme Araçlarının Hazırlanması

UDE ortamına bağlanmadan önce geliştirici bilgisayarında gerekli araçların hazırlanması

Serinin önceki yazılarında önce UDE’nin ne olduğunu, ardından Power Platform Admin Center arayüzüyle ve PowerShell ile developer-enabled UDE ortamı oluşturmayı ele almıştık.

Artık elimizde Finance & Operations developer tools özellikleri aktif edilmiş bir UDE ortamı var. Ancak bu ortamı kullanarak X++ geliştirme yapabilmek için geliştirici bilgisayarında bazı araçların hazır olması gerekiyor.

Klasik development VM modelinde Visual Studio, metadata, AOS bağlantısı ve birçok bileşen development makinesinin içinde hazır geliyordu. UDE modelinde ise geliştirme araçları geliştiricinin lokal bilgisayarında çalışıyor, Finance & Operations runtime tarafı ise bulutta konumlanıyor.

Bu yüzden bu yazıda doğrudan UDE ortamına bağlanmadan önce, geliştirici bilgisayarında Visual Studio 2022 ve gerekli bileşenleri nasıl hazırlamamız gerektiğine odaklanacağız.

Bir sonraki yazıda ise bu kurulumun üzerine Visual Studio’yu UDE ortamına bağlayacak, metadata ve Finance & Operations assets indirme adımlarını ele alacağız.

Neden bu adım önemli?

UDE ile birlikte geliştirme makinesinin rolü değişiyor. Artık uzak masaüstü ile bağlandığımız, her şeyin içinde hazır olduğu bir development VM yerine, kendi bilgisayarımızda çalışan Visual Studio üzerinden geliştirme yapıyoruz.

Bu modelde lokal bilgisayarda şunlar doğru kurulmuş olmalı:

  • Visual Studio 2022
  • Gerekli Visual Studio workloads ve individual components
  • Power Platform Tools for Visual Studio
  • Finance & Operations development tools için gerekli altyapı
  • Microsoft SQL Server Express LocalDB
  • Gerekirse SQL Server Management Studio
  • Reporting Services Projects extension
  • Yeterli disk alanı

Bu bileşenler eksik veya hatalı kurulursa Visual Studio tarafında UDE bağlantısı, metadata indirme, Application Explorer açılması, model oluşturma veya build işlemlerinde sorun yaşanabilir.

Read more

Creating a UDE Environment with PowerShell

Dynamics 365 F&O Unified Development Experience – Part 3

Creating a UDE Environment with PowerShell

Creating a developer-enabled Dynamics 365 Finance & Operations environment with PowerShell

In the previous article of the series, we covered how to create a developer-enabled UDE environment by using the Power Platform Admin Center interface.

Proceeding through the interface is especially useful in the first trials. Seeing which option is on which screen, how Dynamics 365 apps are enabled, where Platform Tools and Provisioning App are installed from, and where the Developer Tools option appears makes the process easier to understand.

However, in real life, especially for partners, ISVs, or teams managing multiple environments, doing these operations from the interface every time is not a very sustainable method. The environment creation process needs to be standard, repeatable, and documentable.

In this article, we will look at how we can do the same work with PowerShell.

Why PowerShell?

The most important advantage of creating a UDE environment with PowerShell is that it standardizes the process.

When creating an environment from the interface, many selections are made manually. Settings such as template selection, region, demo data, developer tools, language, and currency are determined by the user each time. Naturally, this increases the possibility of errors.

On the PowerShell side, we include these decisions in the script. This way, the same script can be reused for different tenants, projects, or trial environments with small changes.

Read more

PowerShell ile UDE Ortamı Oluşturma

Dynamics 365 F&O Unified Development Experience – Bölüm 3

PowerShell ile UDE Ortamı Oluşturma

Developer-enabled Dynamics 365 Finance & Operations ortamını PowerShell ile oluşturma

Serinin önceki yazısında Power Platform Admin Center arayüzünü kullanarak developer-enabled bir UDE ortamının nasıl oluşturulacağını ele almıştık.

Arayüz üzerinden ilerlemek özellikle ilk denemelerde çok faydalı oluyor. Hangi ekranda hangi seçenek var, Dynamics 365 apps nasıl aktif ediliyor, Platform Tools ve Provisioning App nereden kuruluyor, Developer Tools seçeneği nerede geliyor gibi konuları görmek süreci daha anlaşılır hale getiriyor.

Ancak gerçek hayatta, özellikle partner, ISV veya birden fazla ortam yöneten ekipler için her seferinde bu işlemleri arayüzden yapmak çok sürdürülebilir bir yöntem değil. Ortam oluşturma işleminin standart, tekrar edilebilir ve dokümante edilebilir olması gerekiyor.

Bu yazıda aynı işi PowerShell ile nasıl yapabileceğimize bakacağız.

Neden PowerShell?

PowerShell ile UDE ortamı oluşturmanın en önemli avantajı süreci standart hale getirmesidir.

Arayüzden ortam oluştururken birçok seçim manuel yapılır. Template seçimi, region, demo data, developer tools, dil, para birimi gibi ayarlar her seferinde kullanıcı tarafından belirlenir. Bu da doğal olarak hata ihtimalini artırır.

PowerShell tarafında ise bu kararları script içine alırız. Böylece aynı script farklı tenant, proje veya deneme ortamları için küçük değişikliklerle tekrar kullanılabilir.

Read more

Creating a UDE Environment Through the Power Platform Admin Center Interface

Dynamics 365 F&O Unified Development Experience – Part 2

Creating a UDE Environment Through the Power Platform Admin Center Interface

Creating a developer-enabled Dynamics 365 Finance & Operations environment step by step

In the first article of this series, I tried to explain what UDE is, how it differs from the classic development VM approach, and why it is important.

In this article, we are moving a little more into the practical side. Our goal is to create a developer-enabled UDE environment for Dynamics 365 Finance & Operations by using the Power Platform Admin Center interface.

I will cover environment creation with PowerShell in a separate article. In my opinion, creating the first environment through the interface is more useful for seeing the screens and understanding the logic of the process. After that, making the same process repeatable with a script becomes much more meaningful.

Before you start

There are a few basic prerequisites that should be ready before creating a UDE environment.

First of all, the user who will create the environment must have the required admin permissions. Usually, one of the following roles is sufficient:

  • Power Platform Administrator
  • Dynamics 365 Administrator
  • Global Administrator

The tenant must also have the appropriate licenses and capacity to create Finance & Operations applications. Especially Dataverse database capacity and Operations database capacity should be checked.

Important note: The “Developer Environment” type on the Power Platform side is not used for UDE. UDE is a Sandbox environment with Finance & Operations developer tools enabled. If this distinction is confused, unexpected errors may appear in the later steps of the setup.

Read more

Power Platform Admin Center Arayüzü Üzerinden UDE Ortamı Oluşturma

Dynamics 365 F&O Unified Development Experience – Bölüm 2

Power Platform Admin Center Arayüzü Üzerinden UDE Ortamı Oluşturma

Developer-enabled Dynamics 365 Finance & Operations ortamını adım adım oluşturma

Serinin ilk yazısında UDE’nin ne olduğunu, klasik development VM yaklaşımından nerede ayrıldığını ve neden önemli olduğunu anlatmaya çalışmıştım.

Bu yazıda artık biraz daha uygulama tarafına geçiyoruz. Amacımız Power Platform Admin Center arayüzünü kullanarak Dynamics 365 Finance & Operations için developer-enabled bir UDE ortamı oluşturmak.

PowerShell ile ortam oluşturma konusunu ayrı bir yazıda ele alacağım. Çünkü ilk ortamı arayüzden oluşturmak, ekranları görmek ve sürecin mantığını anlamak açısından bana göre daha faydalı. Sonrasında aynı işlemi script ile tekrar edilebilir hale getirmek çok daha anlamlı oluyor.

Başlamadan önce

UDE ortamı oluşturabilmek için birkaç temel ön koşulun hazır olması gerekiyor.

Öncelikle ortamı oluşturacak kullanıcının gerekli admin yetkilerine sahip olması gerekir. Genellikle aşağıdaki rollerden biri yeterli olur:

  • Power Platform Administrator
  • Dynamics 365 Administrator
  • Global Administrator

Ayrıca tenant üzerinde Finance & Operations uygulamalarını oluşturabilecek uygun lisans ve kapasitenin bulunması gerekir. Özellikle Dataverse database capacity ve Operations database capacity tarafı kontrol edilmelidir.

Önemli not: UDE için Power Platform tarafındaki “Developer Environment” tipi kullanılmaz. UDE, Finance & Operations developer tools özellikleri aktif edilmiş bir Sandbox ortamdır. Bu ayrımı karıştırınca kurulumun ilerleyen adımlarında beklenmeyen hatalar alınabiliyor.

Read more

A New Era in Dynamics 365 FO: From LCS to Power Platform Admin Center and UDE

Dynamics 365 F&O UDE Article Series – Part 1

A New Era in Dynamics 365 F&O: From LCS to Power Platform Admin Center and UDE

Part 1: The new management approach, UDE, and first impressions

For many years, Lifecycle Services had a central role in the Dynamics 365 Finance & Operations world. Creating new projects, managing environments, provisioning cloud-hosted environments, deployments, database operations, and many other operational processes were handled through LCS. For anyone working on Finance & Operations projects, LCS was almost the natural starting point.

However, the direction Microsoft has been taking recently is now quite clear. Finance & Operations environment management is gradually moving toward Power Platform Admin Center. In new projects, PPAC is taking a more central role instead of LCS. Finance & Operations environments are now starting to be managed under the same administration experience together with Dataverse, Power Apps, Power Automate, Copilot Studio, and other Dynamics 365 applications.

I do not think this change should be interpreted simply as “we will now create the environment from another screen.” Microsoft is aiming to manage the Business Applications product family through a more integrated platform. From this perspective, it is quite meaningful that Finance, Supply Chain Management, Commerce, Project Operations, Dataverse, and Power Platform components are moving closer to the same management experience.

Of course, this transition is not fully complete yet. On the Power Platform Admin Center side, not every function we are used to in LCS has a one-to-one equivalent. Some features will be moved to PPAC over time, some will change with a different approach, and some will probably not continue in their old form. On the other hand, PPAC also brings new possibilities in terms of capacity management, environment visibility, Power Platform integration, Dataverse connection, and centralized administration.

Read more

Dynamics 365 F&O’da Yeni Dönem: LCS’den Power Platform Admin Center’a Geçiş ve UDE

Dynamics 365 F&O UDE Yazı Serisi – Bölüm 1

Dynamics 365 F&O’da Yeni Dönem: LCS’den Power Platform Admin Center’a Geçiş ve UDE

Bölüm 1: Yeni yönetim yaklaşımı, UDE ve ilk değerlendirmeler

Dynamics 365 Finance & Operations tarafında uzun yıllar boyunca Lifecycle Services merkezi bir konumdaydı. Yeni proje oluşturma, ortam yönetimi, cloud-hosted environment kurulumu, deployment, database işlemleri ve birçok operasyonel süreç LCS üzerinden yürütülüyordu. Finance & Operations projelerinde çalışan herkes için LCS neredeyse doğal başlangıç noktasıydı.

Ancak Microsoft’un son dönemde izlediği yön artık çok net. Finance & Operations ortam yönetimi yavaş yavaş Power Platform Admin Center tarafına taşınıyor. Yeni projelerde LCS yerine PPAC daha merkezi bir rol üstleniyor. Artık Finance & Operations ortamları, Dataverse, Power Apps, Power Automate, Copilot Studio ve diğer Dynamics 365 uygulamalarıyla birlikte aynı yönetim çatısı altında ele alınmaya başlıyor.

Read more

Page 1 of 4512345102030...Last »