{"id":136,"date":"2025-09-28T14:34:02","date_gmt":"2025-09-28T05:34:02","guid":{"rendered":"https:\/\/wiki.tomori-tech.com\/?p=136"},"modified":"2025-10-13T23:13:19","modified_gmt":"2025-10-13T14:13:19","slug":"09_%e5%88%9b%e5%bb%ba%e5%92%8c%e4%bd%bf%e7%94%a8adf-04_%e4%bd%bf%e7%94%a8%e7%a8%8b%e5%ba%8f%e5%90%af%e5%8a%a8pipeline","status":"publish","type":"post","link":"https:\/\/wiki.tomori-tech.com\/?p=136","title":{"rendered":"09_\u521b\u5efa\u548c\u4f7f\u7528ADF-04_\u4f7f\u7528\u7a0b\u5e8f\u542f\u52a8Pipeline"},"content":{"rendered":"<style>\n\/* \u4ec5\u5bf9\u672c\u6587\u6709\u6548 *\/\npre, code, .highlight {\n    border: none !important;\n}\npre::before, pre::after {\n    display: none !important;\n}\n<\/style>\n<h5>1\u3001\u65b0\u5efa\u4e00\u4e2aPowershell\u7684\u811a\u672c\uff08\u4ee3\u7801\u4f1a\u5728\u6700\u540e\u7ed9\u51fa\uff09\uff0c\u811a\u672c\u4e2d\u5305\u542b\uff1a<br \/>\u2460\u767b\u5f55Azure<br \/>\u2461\u8bbe\u7f6e\u53c2\u6570\u7684\u503c<br \/>\u2462\u8c03\u7528Pipeline\u5e76\u4e14\u5c06\u53c2\u6570\u503c\u4f20\u7ed9Pipeline<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_c0f7e2fe2ba8b46ae84e54d672579f8a.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_c0f7e2fe2ba8b46ae84e54d672579f8a.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>2\u3001\u6267\u884c\u8fd9\u4e2aPowershell\u7684\u811a\u672c<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_6361c2b1b84d81471899ebe713e09d30.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_6361c2b1b84d81471899ebe713e09d30.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>3\u3001\u5f39\u51fa\u767b\u5f55Azure\u7684\u7a97\u53e3\uff08\u5fc5\u987b\u8981\u767b\u5f55Azure\u624d\u6709\u8d44\u683c\u53bb\u8c03\u7528Pipeline\uff09<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_8606660a82a7013c7fe65442754ae642.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_8606660a82a7013c7fe65442754ae642.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>4\u3001\u767b\u5f55\u540e\u9009\u62e9\u53ea\u5728\u6b64\u7a0b\u5e8f\u4e2d\u4f7f\u7528<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_ad7d4e64ae6810ae098367a54f54dc78.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_ad7d4e64ae6810ae098367a54f54dc78.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>5\u3001\u8fd9\u65f6\u5c31\u4f1a\u6267\u884cPowershell\u811a\u672c\uff0c\u8c03\u7528Pipeline\uff0c\u5e76\u4e14\u5728\u7a97\u53e3\u4e2d\u6709\u4fe1\u606f\u8f93\u51fa<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_497b288373f4b029f9bfbb53745babc2.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_497b288373f4b029f9bfbb53745babc2.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>6\u3001\u5230Data Factory\u7684\u76d1\u89c6\u754c\u9762\uff0c\u53ef\u4ee5\u770b\u5230\u6709Pipeline\u6267\u884c\u7684\u8bb0\u5f55\uff0c\u8fd9\u5c31\u662f\u901a\u8fc7Powershell\u542f\u52a8\u7684Pipeline\uff0c\u5e76\u4e14\u53c2\u6570\u662f\u901a\u8fc7Powershell\u4f20\u9012\u7684<br \/><span style=\"color: #ff0000;\">\u2605\u6ce8\u610f\uff1a\u53ea\u6709\u53d1\u884c\u51fa\u6765\u7684Pipeline\u624d\u80fd\u4f7f\u7528\u4ee3\u7801\u542f\u52a8\uff0c\u5373Trigger\u542f\u52a8\uff0c\u4fee\u6539\u4e2d\uff0c\u8fd8\u6ca1\u6709\u53d1\u884c\u7684Pipeline\u6216\u5176\u4fee\u6539\u5185\u5bb9\u4e0d\u4f1a\u63d0\u73b0\u5230Trigger\u542f\u52a8\u6267\u884c\u7684\u7ed3\u679c\u91cc<\/span><\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_a6d43123cc7ae22ff2a817d87625259d.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_a6d43123cc7ae22ff2a817d87625259d.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>7\u3001\u5982\u56fe\u6240\u793a\uff0c\u70b9\u51fb\u8fd9\u91cc\u53ef\u4ee5\u67e5\u770b\u4f20\u5165\u7684\u53c2\u6570\u503c<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_b6c616c7bb4025ad4e25bfdfc2a4aa2d.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_b6c616c7bb4025ad4e25bfdfc2a4aa2d.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>8\u3001\u521a\u521a\u6211\u4eec\u5728\u6267\u884cPowershell\u811a\u672c\u65f6\uff0c\u8fd8\u662f\u5f39\u51fa\u4e86\u767b\u5f55\u754c\u9762\uff0c\u8fd8\u662f\u9700\u8981\u4eba\u4e3a\u767b\u5f55\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5b9e\u73b0\u771f\u6b63\u7684\u81ea\u52a8\u8fd0\u884c\u3002<br \/>\u5230Azure\u7684Microsoft Entra ID\u4e2d\uff08\u6ca1\u6709\u663e\u793a\u53ef\u4ee5\u5728\u641c\u7d22\u680f\u91cc\u641c\u7d22\uff09<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_bff5b1d73e886ad824f7aa7419a33703.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_bff5b1d73e886ad824f7aa7419a33703.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>9\u3001\u627e\u5230\u6ce8\u518c\u5e94\u7528\u7a0b\u5e8f\uff0c\u65b0\u5efa\u4e00\u4e2a\u6ce8\u518c\u5e94\u7528\u7a0b\u5e8f\uff0c\u65e5\u6587\u53eb\u505a\u30b5\u30fc\u30d3\u30b9\u30d7\u30ea\u30f3\u30b7\u30d1\u30eb<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_d282f080efa1aa603798e41696355ab9.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_d282f080efa1aa603798e41696355ab9.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>10\u3001\u53d6\u540d\uff08\u4efb\u610f\uff09<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_4e71cbe723d9bb9eb68ca0e0e12634ec.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_4e71cbe723d9bb9eb68ca0e0e12634ec.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>11\u3001\u5e94\u7528\u7a0b\u5e8f\u7684ID\u548cTenant ID\u540e\u9762\u8981\u7528\u5230\uff0c\u53ef\u4ee5\u590d\u5236\u7559\u597d<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_2118837e3f3a329f1b5723e47e1cdd7f.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_2118837e3f3a329f1b5723e47e1cdd7f.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>12\u3001\u7ed9\u5e94\u7528\u7a0b\u5e8f\u521b\u5efa\u4e00\u4e2a\u5bc6\u94a5\uff0c\u6d4f\u89c8\u5668\u4e2d\u521b\u5efa\u5bc6\u94a5\u7684\u8bdd\uff0c\u6700\u957f\u6709\u6548\u671f\u662f730\u5929\uff0c\u5373\u4e24\u5e74<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_190e81f2ff1889db9e907bca3e758cb2.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_190e81f2ff1889db9e907bca3e758cb2.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>13\u3001\u590d\u5236\u597d\u5bc6\u94a5\uff0c\u5bc6\u94a5\u53ea\u5728\u521b\u5efa\u65f6\u4f1a\u663e\u793a\uff0c\u540e\u9762\u5c06\u4e0d\u4f1a\u663e\u793a\uff0c\u6240\u4ee5\u521b\u5efa\u597d\u590d\u5236\u8d70\u540e\u8981\u59a5\u5584\u4fdd\u7ba1\u3002\u4f46\u5982\u679c\u5fd8\u8bb0\u4e86\u5bc6\u94a5\uff0c\u518d\u521b\u5efa\u4e00\u4e2a\u5373\u53ef\uff0c\u53ef\u4ee5\u521b\u5efa\u591a\u4e2a\u5bc6\u94a5\uff0c\u4f7f\u7528\u5176\u4e2d\u4efb\u4f55\u4e00\u4e2a\u90fd\u53ef\u4ee5<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_f545d67dee78d94f761d15812f60308e.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_f545d67dee78d94f761d15812f60308e.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>14\u3001\u5c06\u5e94\u7528\u7a0b\u5e8f\u7684ID\u3001\u5bc6\u94a5\u3001Tenant ID\uff0c\u653e\u5230\u4ee3\u7801\u4e2d\uff08\u4ee3\u7801\u4f1a\u5728\u6700\u540e\u7ed9\u51fa\uff09<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_b6b8f08fce47b4f4189fe611bee9bde0.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_b6b8f08fce47b4f4189fe611bee9bde0.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>15\u3001\u8f6c\u5230Data Factory\u7684\u6743\u9650\u8bbe\u7f6e<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_ecf2c08a72686175c0fb5a82cc0c4c88.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_ecf2c08a72686175c0fb5a82cc0c4c88.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>16\u3001\u6dfb\u52a0Data Factory\u7684\u5171\u540c\u4f5c\u6210\u8005<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_57d14119f21196b51f344ef98adcffd2.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_57d14119f21196b51f344ef98adcffd2.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>17\u3001\u641c\u7d22\u521a\u521a\u65b0\u5efa\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u9009\u62e9\u5b83<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_305a398d086e54af06b3156895cf9452.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_305a398d086e54af06b3156895cf9452.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>18\u3001\u5c06\u5e94\u7528\u7a0b\u5e8f\u8bbe\u7f6e\u4e3aData Factory\u7684\u5171\u540c\u4f5c\u6210\u8005\uff0c\u8fd9\u6837\u5e94\u7528\u7a0b\u5e8f\u5c31\u6709\u6743\u9650\u53bb\u8c03\u7528Data Factory\u4e2d\u7684Pipeline\u4e86<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_57e33d0ff1dc314e5dd10ca6624413d2.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_57e33d0ff1dc314e5dd10ca6624413d2.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>19\u3001\u6743\u9650\u8bbe\u7f6e\u597d\u4e4b\u540e\u7684\u6837\u5b50<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_91ccd6dc8911ed6c9127405e62da7337.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_91ccd6dc8911ed6c9127405e62da7337.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>20\u3001\u518d\u6b21\u6267\u884cPowershell\u811a\u672c\uff0c\u8fd9\u6b21\u4e0d\u9700\u8981\u767b\u5f55\uff0c\u76f4\u63a5\u5373\u53ef\u542f\u52a8Pipeline<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_6a89b8f4fe3e4eec43c17c77686229e1.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_6a89b8f4fe3e4eec43c17c77686229e1.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>21\u3001Pipeline\u7684\u6267\u884c\u8bb0\u5f55<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_57c2c7d8b7b57cc6c1d09ba506eea8f6.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_57c2c7d8b7b57cc6c1d09ba506eea8f6.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>22\u3001\u53ef\u4ee5\u5728Powershell\u811a\u672c\u4e2d\u5c06\u53c2\u6570\u4e5f\u53c2\u6570\u5316<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_5b17ab1042bf13144f799de7b8cca97d.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_5b17ab1042bf13144f799de7b8cca97d.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>23\u3001\u6267\u884cPowershell\u811a\u672c\u65f6\u52a8\u6001\u4f20\u5165\u53c2\u6570<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_600f123e50890659ce13c3f48683c64c.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_600f123e50890659ce13c3f48683c64c.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>24\u3001\u67e5\u770b\u8c03\u7528\u7684Pipeline\u7684\u6267\u884c\u53c2\u6570\uff0c\u53d1\u73b0\u662f\u751f\u6548\u7684\uff0c\u6ca1\u95ee\u9898<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_1b3bd64f9cf8b83b5681a65b7e031772.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_1b3bd64f9cf8b83b5681a65b7e031772.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>25\u3001\u6362\u4e00\u4e2a\u53c2\u6570\u6267\u884c\u8bd5\u8bd5<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_96b5d2e4e55a74a0271797cc9328c5af.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_96b5d2e4e55a74a0271797cc9328c5af.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>26\u3001\u8fd9\u4e2aID\u662f\u6267\u884cID\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ed6\u53bb\u67e5\u627e\u88ab\u8c03\u7528\u7684Pipeline<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_1aabbb984781067f762fbab98860e7ae.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_1aabbb984781067f762fbab98860e7ae.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>27\u3001\u53ef\u4ee5\u770b\u5230\u53c2\u6570\u662f\u751f\u6548\u7684\uff0c\u6ca1\u95ee\u9898<\/h5>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_2911aaab35e45543b02b2bb4e2c9d0b1.jpg\"><img decoding=\"async\" src=\"https:\/\/wiki.tomori-tech.com\/wp-content\/uploads\/2025\/09\/wp_editor_md_2911aaab35e45543b02b2bb4e2c9d0b1.jpg\" alt=\"\" \/><\/a><\/p>\n<h5>28\u3001Powershell\u811a\u672c\u7684\u4ee3\u7801<\/h5>\n<pre><code class=\"language-powershell line-numbers\">param(\n    [string]$Param1Value = \"C##TMT\",\n    [string]$Param2Value = \"USERDETAIL\"\n)\n\nif (-not (Get-Module -ListAvailable -Name Az.DataFactory)) {\n    Write-Host \"Az.DataFactory \u6a21\u5757\u672a\u5b89\u88c5\uff0c\u6b63\u5728\u5b89\u88c5...\"\n    try {\n        Install-Module -Name Az.DataFactory -Force -AllowClobber -Scope CurrentUser\n        Write-Host \"Az.DataFactory \u6a21\u5757\u5b89\u88c5\u6210\u529f\" -ForegroundColor Green\n    }\n    catch {\n        Write-Error \"\u6a21\u5757\u5b89\u88c5\u5931\u8d25: $_\"\n        exit 1\n    }\n}\n\nImport-Module Az.DataFactory\n\n$clientId = \"c8bfe09a-1c43-4c41-a224-be10cc95e8e4\"\n$clientSecret = \"_sk8Q~-P39lJfiOvELqrPfSsghiswh~efiN8Qanl\" | ConvertTo-SecureString -AsPlainText -Force\n$tenantId = \"e3db9350-94d6-4e81-a7fa-1e3c21ae681d\"\n\n$credential = New-Object System.Management.Automation.PSCredential($clientId, $clientSecret)\n$null = Connect-AzAccount -ServicePrincipal -Credential $credential -TenantId $tenantId\n\n# \u8bbe\u7f6e\u53c2\u6570\n$params = @{\n    \"FromSchemaName\" = $Param1Value\n    \"FromTableName\" = $Param2Value\n}\n\n# \u542f\u52a8 pipeline\nInvoke-AzDataFactoryV2Pipeline -ResourceGroupName \"TomoriETLDev\" -DataFactoryName \"TomoriDataFactoryV2Dev\" -PipelineName \"CopyDataOracleToCsv\" -Parameter $params\n<\/code><\/pre>\n<h5>29\u3001\u7ed9\u5e94\u7528\u7a0b\u5e8f\u521b\u5efa\u6709\u6548\u671f\u8d85\u8fc7\u4e24\u5e74\u7684\u957f\u671f\u5bc6\u94a5\u7684AzureCLI\u811a\u672c<\/h5>\n<pre><code class=\"language-bash line-numbers\">az login\n\naz ad app credential reset --id c8bfe09a-1c43-4c41-a224-be10cc95e8e4 --append --display-name 'LongTimePassword' --end-date '2099-12-31'\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>1\u3001\u65b0\u5efa\u4e00\u4e2aPowershell\u7684\u811a\u672c\uff08\u4ee3\u7801\u4f1a\u5728\u6700<\/p>\n<\/div>","protected":false},"author":1,"featured_media":17,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-136","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure"],"views":79,"_links":{"self":[{"href":"https:\/\/wiki.tomori-tech.com\/index.php?rest_route=\/wp\/v2\/posts\/136","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.tomori-tech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wiki.tomori-tech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.tomori-tech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wiki.tomori-tech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=136"}],"version-history":[{"count":10,"href":"https:\/\/wiki.tomori-tech.com\/index.php?rest_route=\/wp\/v2\/posts\/136\/revisions"}],"predecessor-version":[{"id":179,"href":"https:\/\/wiki.tomori-tech.com\/index.php?rest_route=\/wp\/v2\/posts\/136\/revisions\/179"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wiki.tomori-tech.com\/index.php?rest_route=\/wp\/v2\/media\/17"}],"wp:attachment":[{"href":"https:\/\/wiki.tomori-tech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wiki.tomori-tech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=136"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wiki.tomori-tech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}