Comments (5)
from dyn365-ce-vsts-tasks.
PowerShell Details:
2019-01-04T22:51:25.8209162Z Name Value
2019-01-04T22:51:25.8209162Z ---- -----
2019-01-04T22:51:25.8219162Z PSVersion 4.0
2019-01-04T22:51:25.8229162Z WSManStackVersion 3.0
2019-01-04T22:51:25.8229162Z SerializationVersion 1.1.0.1
2019-01-04T22:51:25.8229162Z CLRVersion 4.0.30319.42000
2019-01-04T22:51:25.8229162Z BuildVersion 6.3.9600.19170
2019-01-04T22:51:25.8229162Z PSCompatibleVersions {1.0, 2.0, 3.0, 4.0}
2019-01-04T22:51:25.8229162Z PSRemotingProtocolVersion 2.2
from dyn365-ce-vsts-tasks.
@carolina007 I think you are still using PS 4.0. I suggest you upgrade to at least PS 5 as the cmdlets will make more usage of the new features going forward.
However given that in most organisations rolling changes like this can require approvals and take time. I have added a check in the code that will hopefully fix your issue and any other users who are still on PS 4.
string message = string.Format(format, args);
if (GetPSVersion().Major < 5)
{
Console.WriteLine(message);
}
else
{
XrmCmdlet.WriteInformation(message, new string[] { "XrmCIFramework" });
}
I have uploaded the fix to the marketplace.
from dyn365-ce-vsts-tasks.
FYI. it's still throwing error when we use 11.0.1 with PowerShell 4.0. We installed PS5 and it worked.
2019-01-06T01:33:47.9431719Z ##[section]Starting: MSCRM Import Solution ACH_Base
2019-01-06T01:33:47.9436697Z ==============================================================================
2019-01-06T01:33:47.9436959Z Task : MSCRM Import Solution
2019-01-06T01:33:47.9437253Z Description : Import a Dynamics CRM Solution package
2019-01-06T01:33:47.9437448Z Version : 11.0.1
2019-01-06T01:33:47.9437621Z Author : Wael Hamze
2019-01-06T01:33:47.9437837Z Help : This task invokes ImportSolutionRequest in Async mode
2019-01-06T01:33:47.9438056Z ==============================================================================
2019-01-06T01:33:50.3368735Z ##[error]Method not found: 'Void System.Management.Automation.Cmdlet.WriteInformation(System.Object, System.String[])'.
2019-01-06T01:33:50.3586722Z ##[section]Finishing: MSCRM Import Solution ACH_Base
from dyn365-ce-vsts-tasks.
Glad you got this working. Not sure on PS 4. It should have worked. I have added checks in code. Might have been caching issue,
2019-01-05T10:49:04.8445458Z ##[debug]logFilename = Success_1_0_0_0_managed_importlog_2019_01_05__10_49.xml
2019-01-05T10:49:04.8445920Z ##[debug]PS Version: 5.0.10586.117
2019-01-05T10:49:04.8446063Z ##[debug]Current Security Protocol: Tls, Tls11, Tls12
2019-01-05T10:49:04.8446653Z ##[debug]Modified Security Protocol: Tls, Tls11, Tls12
2019-01-05T10:49:04.8446798Z ##[debug]Connecting to CRM [attempt 1]
2019-01-05T10:49:07.7376513Z ##[debug]Entering XrmImportSolution
from dyn365-ce-vsts-tasks.
Related Issues (20)
- Provision new environment - tool issue. HOT 1
- Share Flows Task Fails HOT 3
- Activate Flows Advanced Activate does not work HOT 5
- Import Config Migration Data Task - appears it does not handle errors correctly
- Stackoverflowexception
- Activate Flow Task Advanced type fails HOT 2
- Dependent Assembly Plugins
- MSCRMPackSolution bundle.js being ignored in mapping
- "Share Power App" task requires Microsoft.Graph.Authentication HOT 1
- Can we have deployment setting in solution import
- Export/Import Configuration Migration Data fails when no access to PowerShellGallery
- GetLatestPatch sets patch name variable as null
- Connection failure - Unable to connect to CRM: Need a non-empty authority
- Error in Task "Set Online Instance Admin Mode"
- Looking for documentations on how the extension manages data
- Two nights in a row we got timeouts on the SetVersion task
- Do we have any tasks which supports in GitHub actions for Pack Config Migration Data
- Check tenant settings missing HOT 1
- Solution import Failed. Error: Error while importing Formula fields HOT 1
- ##[error]Value cannot be null.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dyn365-ce-vsts-tasks.