سؤال

حسنا، أنا نصف نائم، ماذا فعلت خطأ في برنامج PowerShell الخاص بي (تم تعديله قد شاهدت للتو فريق A في الاعتبار) giveacodicetagpre.

[عدل] آسف Thantos اعتقدت أنني أدرجت أنه لا أعرف ما حدث:

متغير ملفات التعريف هو العودة فارغة من profilemanager.ولكن في نومي الخاص بي، أقرأ الخطأ وكان أدنى فكرة هناك، لم يكن لدي أذونات الحساب.

"لا يوجد تطبيق ملف تعريف المستخدم متاح لخدمة الطلب" أنا لم أر هذا الخطأ أول 50 مرة تشغيل البرنامج النصي.

تم.

هل كانت مفيدة؟

المحلول

The profiles variable is coming back NULL from the profilemanager. But in my sleepyness I re read the error and the clue was there, I didn't have the account permissions.

"No user profile application available to service the request" I just didn't see this error the first 50 times running the script.

Done.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى sharepoint.stackexchange
scroll top