How to use SharePoint Migration API without uploading data to Azure - powershell

Is there any possibility to upload data to SharePoint Online using Migration API, without uploading package to Azure Storage. I have referred some Blogs and they are suggesting to upload package to Azure Storage via Powershell

The closest thing you can use is the direct migration using PowerShell, it will not use the Migration API and of course, no Azure will be required.
I've created a custom solution for migration, it supports metadata and allows you to migrate file shares and local folders, not sure if it will be helpful for you but take a look:
https://github.com/MrDrSushi/SPOPSM

Related

Azure Data Factory - LiveCodeBackup

I have 150 pipelines and many datasets defined in Azure data factory. I want to take backup of live code everyday and save it to the code repository.
What is the best approach to backup the Code/pipelines/datasets/linked services to GIT repository. Do we have any API's available for the task?
Can we achieve this with PowerShell code? if yes, please share the PS code if you have it handy.
Appreciate your help..
Set up a code repository in the Azure data factory, then you can save all your resources to Azure DevOps or GitHub and get the Backup.
Please follow the below reference it has detailed expiation of GitHub code repository setup and Restores, backup of Azure data factory.
You can use another way to take Backup and Restore Azure Data Factory using an ARM template.
Reference:
https://www.sqlshack.com/using-source-control-in-azure-data-factory/
How to Backup and Restore Azure Data Factory from ARM Template ?
https://www.youtube.com/watch?v=X5uMYO06aMI
How to Backup and Restore Azure DevOps code repositories ?

TFS Work Item Migration from 2018 to Azure Devops

we are trying to migrate from TFS to Azure Devops and as part of the migration want to migrate work items. I had tried using VSTS-work-item-migrator and vsts-sync-migration tool for migration but couldn't be succesfull in doing that as there are some customized WIT's in current TFS.
Can anyone suggest what would be best approach to do migrate without any data loss.
Note: We don't want to use import database approach.
For your demand,I am afraid there is no such tool available at present.These migration tools should not recognize your custom process.So it is not feasible to migrate custom work items to azure devops via tools.
To migrate complete data from TFs to azure devops, it is recommended to use the method of importing the database.
This is guided in other case and docs. For details,you can refer to these.
TFS to VSTS migration - The official import option which will import 1 project collection into 1 VSTS account. It automatically imports everything stored in the backup. At the point of writing this, the TFS must be upgraded to TFS 2018 and some work item template customizations must be removed (there are a few well documented features unavailable on VSTS).
There is tool call nkd-agilty migration tool which is used from all kinds of migration from tfs/AzureDevOps to another
https://nkdagility.github.io/azure-devops-migration-tools/

Create Collection in CosmosDb via Powershell

Is there a way to create cosmosDb collections via Azure Templates or via Powershell?
All i have got so far are examples with the Azure CLI, but those do not fit my requirements.
I would also like to avoid Rest Calls, since this seams like a lot of overhead compared to the a possible Powershell solution.
Based on the information provided here, you can only perform account related operations with PowerShell. It is not possible to manage data inside an account using PowerShell as of today.
The following table includes links to sample Azure PowerShell scripts
for Azure Cosmos DB. At this time you can only manage the Azure Cosmos
DB accountlayer via PowerShell; other resources such as databases and
collections cannot be managed via PowerShell.
Also looking at the Azure Feedback site here, it is still unplanned but someone has started a project on Github for this. Do take a look at that project here: https://github.com/secabstraction/PoshDocs.
You can use the Cosmos DB PowerShell module available on the PowerShell Gallery. You can find the documentation and examples of how to use it on GitHub in the project repository.
You can try calling the REST API from powershell to achieve your goal SEE REST API Dcumentation here

Download Azure Cloud Services package and configuration without REST API

Is there any way to download Azure Cloud Services package and configuration files without using Azure REST API?
Thank you in advance
As far as I know, if you want to get the Azure Cloud Services configuration, you could use portal directly download it.
You could open azure portal and find the Configuration and click download. It is the configuration files.
Details you could refer to this image:
But if you want to download the Azure Cloud Services package, I think you could only using azure rest api to download it.
Besides, the Azure Cloud Services package is generate according to your cloud servers running application, you could directly use CSPack command-line tool to generate it in the local. More details, you could refer to this article.

Azure Automation - Azure API Management backup to blob storage

I have set up an automation account and a graphical workflow with PowerShell to backup to blob storage.
I Realised that Azure automation was missing the required APIM commandlets so I imported them. I can now see these within my Automation assets:
Here is my graphical PowerShell workflow:
However, Backup-AzureRmApiManagement is not available:
Can anyone tell me why?
thanks
Russ
Ok,
I didn't think there was a valid reason for this. I deleted my imported modules (even though azure said they were available (imported correctly)) and re-imported.
Now the Backup-AzureRmApiManagement is available:
Just be careful when importing PowerShell module into Azure. It may look like they imported correctly but some things might be missing or broken.