Git Product home page Git Product logo

powerdataops's Introduction

Welcome to my lab ๐Ÿ‘‹

My name is Aymeric Mouillรฉ, I'm a Microsoft Solutions Architect based in France.

I'm currently CTO at DealFabric, a Microsoft Certified ISV which provide CRM solutions for investment. And also working at DIMSI, a Microsoft Gold Partner company specialized in D365 / Power Apps implementations, as Architect.

๐Ÿ’ก Projects and IP

I'm focused on dev to env flows optimization : how to increase developer performance and reduce manual operations to target environment.

๐Ÿ”ง Code & Technologies

๐Ÿ“ซ Contact

You can follow or reach me on social networks:

Linkedin Badge Twitter Badge Medium Badge

๐Ÿ“ˆ GitHub Stats

Because graphs are so cool

Aymeric's GitHub Stats

aymericm78

aymericm78

aymericm78

powerdataops's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

powerdataops's Issues

XrmClient is failing since 13-July-2022

We are using the XrmClient as part of our github actions.

We are now receiving the following error in our
PowerDataOps version = 1.0.0.99
AuthType=ClientSecret;Url=https://.crm6.dynamics.com;ClientId=;ClientSecret=;
Get-CrmConnection : Method not found: 'Void
Microsoft.Xrm.Tooling.Connector.CrmServiceClient.set_EnableDeprecatedOnLineWSTrustFlow(Boolean)'.
At C:\Users\runneradmin\Documents\WindowsPowerShell\Modules\PowerDataOps\1.0.0.99\src\Client\New-XrmClient.ps1:83

I've not been able to determine a root cause to this other than that Microsoft released a new version of their assemblies Microsoft.CrmSdk.CoreTools.9.1.0.115 which appears to be the most likely cause).

Are you able to assist?

Set-XrmClientTimeout not working

I am trying to change the default timeout of 00:02:00 to 00:10:00, however when I use Set-XrmClientTimeout, this doesn't seem to affect the timeout. Anyone knows how to solve this?

# Connection setup
$xrmClient = New-XrmClient -ConnectionString "AuthType=ClientSecret;url=$($TargetUrl);ClientId=$($TargetAppId);ClientSecret=$($TargetAppSecret)";
Set-XrmClientTimeout -DurationInMinutes 10;

# Get entity Id
$query = New-XrmQueryExpression -LogicalName "mserp_financeandoperationsentity";
$query.ColumnSet = [Microsoft.Xrm.Sdk.Query.ColumnSet]::new("mserp_physicalname");
$query.Criteria.AddCondition("mserp_physicalname", [Microsoft.Xrm.Sdk.Query.ConditionOperator]::Equal, "CustCustomerV3Entity")
$entity = (Get-XrmMultipleRecords -XrmClient $xrmClient -Query $query)[0];

# Refresh
try
{
    Write-Host "$(Get-Date): start refresh"
    $generatedEntity = [Microsoft.Xrm.Sdk.Entity]::new("mserp_financeandoperationsentity");
    $generatedEntity.Id = $entity.Id;
    $generatedEntity["mserp_refresh"] = $true;
    $xrmClient.Update($generatedEntity);
}
finally
{
    Write-Host "$(Get-Date): end refresh"
}

The above script gives me the output:

09/20/2022 15:35:05: start refresh
09/20/2022 15:37:05: end refresh
Exception calling "Update" with "1" argument(s): "The underlying connection was closed: A connection that was expected to be kept alive was closed by the server."

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.