profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/Splaxi/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Mötz Jensen Splaxi Essence Solutions P/S Denmark Lead Technical Consultant

Splaxi/d365fo.tools 6

Tools used for Dynamics 365 Finance and Operations

Splaxi/D365FOLBDAdmin 2

For Administrating Dynamics 365 F&O LBD environments

Splaxi/2LCS 0

Lifecycle Services Companion App for administrators

Splaxi/AaxAudioConverter 0

Convert Audible aax files to mp3 and m4a/m4b

Splaxi/APIManagementARMTemplateCreator 0

Azure API Management Template Extractor, extracts ARM templates for your API's to be used in the CI/CD process.

Splaxi/arm-ttk 0

Azure Resource Manager Template Toolkit

Splaxi/AX-2012 0

Scripts and tools for administering Microsoft Dynamics AX.

Splaxi/ax2012.tools 0

A set of tools that will assist you when working with the Microsoft Dynamics AX 2012 platform.

issue closedd365collaborative/d365fo.tools

Install fails - clash with Az module

Running install-module -name d365fo.tools, it runs for a bit then falls over with the following error:

`PackageManagement\Install-Package : The following commands are already available on this system:'Login-AzAccount,Logout-AzAccount,Resolve-Error,Send-Feedback'. This module 'AzureRM.Profile' may override the existing commands. If you still want to install this module 'AzureRM.Profile', use -AllowClobber parameter. At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.4.1\PSModule.psm1:9709 char:34

  • ... talledPackages = PackageManagement\Install-Package @PSBoundParameters
  •                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Exception
    • FullyQualifiedErrorId : CommandAlreadyAvailable,Validate-ModuleCommandAlreadyAvailable,Microsoft.PowerShell.Pack ageManagement.Cmdlets.InstallPackage`

That seems to be a clash with the standard Az admin module. Anyone got any clues on how to get past that without clobbering the existing module?

closed time in 7 days

mpburtt

issue commentd365collaborative/d365fo.tools

Install fails - clash with Az module

Let me know if you need anything else.

mpburtt

comment created time in 7 days

issue closedd365collaborative/d365fo.tools

Get-D365LcsEnvironmentMetadata Unauthorized

Trying to use Get-D365LcsEnvironmentMetadata -ProjectId "{Project ID Removed}" -LCSApiUri "https://lcsapi.lcs.dynamics.com" -TraverseAllPages -EnableException

It get the following Error

[Get-LcsEnvironmentMetadata] Error status code Unauthorized in request for getting the environment metadata a project in LCS. Unauthorized. | The remote server returned an error: (401) Unauthorized. WARNING: [16:49:59][Get-LcsEnvironmentMetadata] Stopping because of errors Exception calling "AddRange" with "1" argument(s): "Value cannot be null. Parameter name: collection" At line:15163 char:13

  •         $resArray.AddRange($metadata.Data)
    
  •         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    • FullyQualifiedErrorId : ArgumentNullException

Is this because I'm not setting the -BearerToken

How do I get the authentication to work?

closed time in 7 days

stuartahonour

issue commentd365collaborative/d365fo.tools

Get-D365LcsEnvironmentMetadata Unauthorized

Let me know if need anything else.

stuartahonour

comment created time in 7 days

issue commentd365collaborative/d365fo.tools

Make wiki content publishable from base repo

Ping me here in a weeks time and I'll be back to start working again.

FH-Inway

comment created time in 9 days

issue commentd365collaborative/d365fo.tools

Make wiki content publishable from base repo

Will into it.

My personal life is a bit blown to pieces these days - context: https://twitter.com/splaxi/status/1432788711788396550

FH-Inway

comment created time in 9 days

issue commentd365collaborative/d365fo.tools

Make execution of the switch-database-tierX.sql script in Switch-D365ActiveDatabase optional

For Tier1 - what would be the issue with running the switch sql script?

I'm all in for options 👍

FH-Inway

comment created time in 9 days

issue commentd365collaborative/d365fo.tools

Install fails - clash with Az module

I always think of it like this.

If AllowClobber is a core parameter while installing new modules, it is a expected behavior that you encounter conflicts between modules.

Next issue is that you might have to disable auto load of modules, but that is easy fixed.

mpburtt

comment created time in 16 days

issue commentd365collaborative/d365fo.tools

Proposition: Add cmdlet for changing IISExpress to IIS on a Dev Box

Great idea.

Can you share some sample powershell scripts that works?

Would make it easier for us to implement it.

valerymoskalenko

comment created time in 17 days

pull request commentd365collaborative/d365fo.tools

Fix: Try to clean up all http client objects. Could explain sessions …

Awesome news @FH-Inway

Would love to see a blog post / LinkedIn article or even a wiki page here on github about your findings 😉🤞

Splaxi

comment created time in 21 days

pull request commentd365collaborative/d365fo.tools

Refactor: Remove old and unused cmdlets.

Awesome.

Take your time and do what you usually do with the cmdlets, to see what works or not - and make sure that naming makes sense 😉

Splaxi

comment created time in 21 days

delete branch Splaxi/d365fo.tools

delete branch : impl-first-pages-for-lcs-api

delete time in 21 days

push eventd365collaborative/d365fo.tools

Frank Hüther

commit sha 2dbb6614d0f24a0b78fb883c1c7e7d41a2ccfb6e

Import-AssemblyFileIntoMemory: Copy the shadow file to temp folder

view details

Frank Hüther

commit sha 62f0f7f6d9a8eb06ddf7ea75b6ac546494553fb6

Import-AssemblyFileIntoMemory: Add switch to use the temp folder for copying Get-ApplicationEnvironment: use the temp folder for assembly file loading

view details

Frank Hüther

commit sha 9183f7cedab2061bedae4bd6b042605239ec75db

Merge branch 'development' into development

view details

Rowdy

commit sha 89d521b0eca9db04fb4a8a2a2a98a119dbd49575

Update Get-D365LcsApiToken.md Probably an copy-paste error of this template. We are obtaining a token, not uploading a file.. ;)

view details

Mötz Jensen

commit sha 13ae9b069bebd788159da0623e3c49a738e5ddfd

Merge pull request #567 from rowdynl/patch-1 Update Get-D365LcsApiToken.md

view details

Mötz Jensen

commit sha 623ec265922a4462da23f18063769dd1bac3dd58

Feature: Add support for limiting the number of pages to return from LCS.

view details

Mötz Jensen

commit sha 8ee3c54edf3e497b75fbad279583440853a05ecc

Style: CBH formatted.

view details

Mötz Jensen

commit sha e8aa5807d6746e4c38290374d6b1c12f92a0444d

Test: Updated parameter unit test to reflect refactored code.

view details

Mötz Jensen

commit sha 0dd4d9353534133a0627ace1324f75ff644fef0b

Docs: Updated md doc files to reflected refactore CBH.

view details

Mötz Jensen

commit sha 08f44b5296af2ff2dc7730582c7324637456fdbb

Docs: Updated index file.

view details

Mötz Jensen

commit sha a60306e1a478f802891d0a32091d0826d3b2b837

Merge pull request #558 from fhoo/development Import-AssemblyFileIntoMemory: Copy the shadow file to temp folder

view details

Mötz Jensen

commit sha f1961c3c5d60475a36268218a5d1b29975f3dfcd

Version: 0.6.65

view details

Mötz Jensen

commit sha 67f9351950de192728c0e5c582b142beee2bf294

Merge branch 'development' of https://github.com/d365collaborative/d365fo.tools into development

view details

push time in 21 days

PR opened d365collaborative/d365fo.tools

Version: 0.6.65
+222 -23

0 comment

13 changed files

pr created time in 21 days

push eventd365collaborative/d365fo.tools

Mötz Jensen

commit sha 623ec265922a4462da23f18063769dd1bac3dd58

Feature: Add support for limiting the number of pages to return from LCS.

view details

Mötz Jensen

commit sha 8ee3c54edf3e497b75fbad279583440853a05ecc

Style: CBH formatted.

view details

Mötz Jensen

commit sha e8aa5807d6746e4c38290374d6b1c12f92a0444d

Test: Updated parameter unit test to reflect refactored code.

view details

Mötz Jensen

commit sha 0dd4d9353534133a0627ace1324f75ff644fef0b

Docs: Updated md doc files to reflected refactore CBH.

view details

Mötz Jensen

commit sha 08f44b5296af2ff2dc7730582c7324637456fdbb

Docs: Updated index file.

view details

Mötz Jensen

commit sha f1961c3c5d60475a36268218a5d1b29975f3dfcd

Version: 0.6.65

view details

Mötz Jensen

commit sha 67f9351950de192728c0e5c582b142beee2bf294

Merge branch 'development' of https://github.com/d365collaborative/d365fo.tools into development

view details

push time in 21 days

push eventSplaxi/d365fo.tools

Mötz Jensen

commit sha 50b7c1a26b0074e293e89bf666197a91b52bffad

Refactor: Remove parameter attributes.

view details

push time in 21 days

pull request commentd365collaborative/d365fo.tools

Refactor: Remove old and unused cmdlets.

Hi @fhoo

Could you pull this branch and see if you can make it work for your scenario?

Get-D365InstalledPackage | Get-D365PackageLabelResourceFiles | Get-D365PackageLabelResources

Would be my guess of what you are / have been doing with the previous cmdlets.

Splaxi

comment created time in 21 days

push eventSplaxi/d365fo.tools

Mötz Jensen

commit sha a07c9fc0ace492824f6620b1d14dc34628f9a5e4

Fix: Auto close is pointing towards the wrong database.

view details

Mötz Jensen

commit sha d47f19b76c0e2f9bb140aff5c4dc6f50e71f1d7a

Version: 0.6.63

view details

Mötz Jensen

commit sha a5b24f6bf227fd23188920ecee20099cc130aeef

Refactor: Move sql scripts that enforces correct sysglobalconfiguration values for on-prem SQL.

view details

Mötz Jensen

commit sha 2fd67a394c72603381b98cdb7856ade4508b93dd

Version: 0.6.64

view details

Mötz Jensen

commit sha 37715415a12ea159c155782b28e58e5c8f97cda1

Feature: Add logic to handle -Aos and -All, respect the StartupType

view details

Mötz Jensen

commit sha 4337a376ff08630a783efbff1ab721a233393b04

Version: 0.6.65

view details

Rowdy

commit sha 89d521b0eca9db04fb4a8a2a2a98a119dbd49575

Update Get-D365LcsApiToken.md Probably an copy-paste error of this template. We are obtaining a token, not uploading a file.. ;)

view details

Mötz Jensen

commit sha 13ae9b069bebd788159da0623e3c49a738e5ddfd

Merge pull request #567 from rowdynl/patch-1 Update Get-D365LcsApiToken.md

view details

Mötz Jensen

commit sha 2dc1c935f74c4a7a8240e46d1717db0cfd2b777e

Merge branch 'development' into refactor-remove-legacy

view details

Mötz Jensen

commit sha 76c83c7a105914c5dafc7d6f30d285b696403cc1

Refactor: Rename old cmdlets.

view details

push time in 21 days

push eventd365collaborative/d365fo.tools

Frank Hüther

commit sha 2dbb6614d0f24a0b78fb883c1c7e7d41a2ccfb6e

Import-AssemblyFileIntoMemory: Copy the shadow file to temp folder

view details

Frank Hüther

commit sha 62f0f7f6d9a8eb06ddf7ea75b6ac546494553fb6

Import-AssemblyFileIntoMemory: Add switch to use the temp folder for copying Get-ApplicationEnvironment: use the temp folder for assembly file loading

view details

Frank Hüther

commit sha 9183f7cedab2061bedae4bd6b042605239ec75db

Merge branch 'development' into development

view details

Mötz Jensen

commit sha a60306e1a478f802891d0a32091d0826d3b2b837

Merge pull request #558 from fhoo/development Import-AssemblyFileIntoMemory: Copy the shadow file to temp folder

view details

push time in 21 days

PR merged d365collaborative/d365fo.tools

Import-AssemblyFileIntoMemory: Copy the shadow file to temp folder

There is an issue that the IIS is being reset, whenever the tools module is loaded. At least refreshing the browser of a currently responsive sessions takes the usual time after an IIS restart, when you open a PowerShell session and call one of the Tool's CmdLets. I was able to narrow it down to the Get-ApplicationEnvironment function and specifically the Import-AssemblyFileIntoMemory that is called from there. It seems that the IIS restarts, whenever a file is added or deleted in the webroot\bin folder. By creating the shadow files in the temp folder you can prevent that. If you don't like $env:TEMP you can also go for C:\Temp\d365fo.tools or whatever you think suits best 😄

+23 -3

3 comments

2 changed files

fhoo

pr closed time in 21 days

push eventSplaxi/d365fo.tools

Mötz Jensen

commit sha 08f44b5296af2ff2dc7730582c7324637456fdbb

Docs: Updated index file.

view details

push time in 21 days

push eventSplaxi/d365fo.tools

Mötz Jensen

commit sha 0dd4d9353534133a0627ace1324f75ff644fef0b

Docs: Updated md doc files to reflected refactore CBH.

view details

push time in 21 days

push eventSplaxi/d365fo.tools

Mötz Jensen

commit sha e8aa5807d6746e4c38290374d6b1c12f92a0444d

Test: Updated parameter unit test to reflect refactored code.

view details

push time in 21 days

push eventSplaxi/d365fo.tools

Mötz Jensen

commit sha 8ee3c54edf3e497b75fbad279583440853a05ecc

Style: CBH formatted.

view details

push time in 21 days

create barnchSplaxi/d365fo.tools

branch : impl-first-pages-for-lcs-api

created branch time in 22 days

PR merged d365collaborative/d365fo.tools

Update Get-D365LcsApiToken.md

Probably an copy-paste error of this template. We are obtaining a token, not uploading a file.. ;)

+1 -1

1 comment

1 changed file

rowdynl

pr closed time in 22 days

push eventd365collaborative/d365fo.tools

Rowdy

commit sha 89d521b0eca9db04fb4a8a2a2a98a119dbd49575

Update Get-D365LcsApiToken.md Probably an copy-paste error of this template. We are obtaining a token, not uploading a file.. ;)

view details

Mötz Jensen

commit sha 13ae9b069bebd788159da0623e3c49a738e5ddfd

Merge pull request #567 from rowdynl/patch-1 Update Get-D365LcsApiToken.md

view details

push time in 22 days